powerpc32: fix warning from include/linux/mm.h

Scott Wood scottwood at freescale.com
Sat Mar 21 10:52:13 AEDT 2015


On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote:
> include/linux/mm.h: In function 'is_vmalloc_addr':
> include/linux/mm.h:367:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
>   return addr >= VMALLOC_START && addr < VMALLOC_END;
>               ^
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
> ---
>  arch/powerpc/include/asm/pgtable-ppc32.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

That warning doesn't appear to be enabled.  What config are you seeing
this with?

I'm also not clear on why this was assigned to me in patchwork.

-Scott


More information about the Linuxppc-dev mailing list