diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-09 20:53:50 (GMT) |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-30 15:56:50 (GMT) |
commit | 6fbeee29a2b87574527897c3ded1f92e236518c7 (patch) | |
tree | f42ed3f1b9e21f21213b32d0a52504098b55a324 /arch/tile/include/asm/mmzone.h | |
parent | e56059f2d3b8a053c965a51587a4a3328ac00a47 (diff) | |
download | linux-6fbeee29a2b87574527897c3ded1f92e236518c7.tar.xz |
tile: fix some -Wsign-compare warnings
Normally the build doesn't include these warnings, but at one
point I built with -Wsign-compare, and noticed a few things that
are technically bugs. This change fixes those things.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm/mmzone.h')
-rw-r--r-- | arch/tile/include/asm/mmzone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/asm/mmzone.h b/arch/tile/include/asm/mmzone.h index 9d3dbce..804f109 100644 --- a/arch/tile/include/asm/mmzone.h +++ b/arch/tile/include/asm/mmzone.h @@ -42,7 +42,7 @@ static inline int pfn_to_nid(unsigned long pfn) #define kern_addr_valid(kaddr) virt_addr_valid((void *)kaddr) -static inline int pfn_valid(int pfn) +static inline int pfn_valid(unsigned long pfn) { int nid = pfn_to_nid(pfn); |