]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix flood of warnings about comparsion being always true.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 16 Nov 2015 11:07:10 +0000 (12:07 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Nov 2015 11:07:10 +0000 (12:07 +0100)
commitad0c53ab5a8d38d22855f51a535b7171500456bf
treea5b0355e154171d125e7dc076c106c3b27075cd2
parent837e0eb1c9d194f0eb3cf87d97b2235de146c9fe
MIPS: Fix flood of warnings about comparsion being always true.

./arch/mips/include/asm/page.h:204:13: warning: comparison of unsigned expression &gt;= 0 is always true [-Wtype-limits]

The default value of ARCH_PFN_OFFSET is 0 thus triggering this warning
for all platforms using the default value.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h