]> 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)
commitb2f71489369852970d3409c3a375f78aa4690e31
treea5b0355e154171d125e7dc076c106c3b27075cd2
parent2715d332e6151136472842d51b2ec873c0652275
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