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

Michael Ellerman mpe at ellerman.id.au
Wed Apr 8 13:27:22 AEST 2015


On Fri, 2015-03-20 at 18:52 -0500, Scott Wood wrote:
> 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.

Because it's from Christophe.

cheers




More information about the Linuxppc-dev mailing list