mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
863cf8da0f
When compiling with 'W=1' warnings such as the following occur all over the place: ./include/linux/pfn.h:21:22: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] which is due to ARCH_PFN_OFFSET being 0 by default (if CONFIG_NIOS2_MEM_BASE is not changed in the Kconfig). Fix these warnings by making pfn_valid a static inline function. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> |
||
---|---|---|
.. | ||
asm-macros.h | ||
asm-offsets.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
cpuinfo.h | ||
delay.h | ||
dma-mapping.h | ||
elf.h | ||
entry.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kgdb.h | ||
linkage.h | ||
mmu.h | ||
mmu_context.h | ||
mutex.h | ||
page.h | ||
pgalloc.h | ||
pgtable-bits.h | ||
pgtable.h | ||
processor.h | ||
prom.h | ||
ptrace.h | ||
registers.h | ||
setup.h | ||
shmparam.h | ||
signal.h | ||
string.h | ||
switch_to.h | ||
syscall.h | ||
syscalls.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
traps.h | ||
uaccess.h |