Re: [PATCH 03/10] usb: fix integer as NULL pointer warnings
From: Harvey Harrison
Date: Thu May 01 2008 - 19:10:10 EST
On Thu, 2008-05-01 at 16:02 -0700, Andrew Morton wrote:
> On Wed, 30 Apr 2008 15:03:41 -0700
> Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:
>
> > drivers/usb/host/ohci-sm501.c:93:24: warning: Using plain integer as NULL pointer
> > drivers/usb/gadget/amd5536udc.c:3254:9: warning: Using plain integer as NULL pointer
> > drivers/usb/gadget/amd5536udc.c:3267:9: warning: Using plain integer as NULL pointer
> > drivers/usb/gadget/amd5536udc.c:3277:9: warning: Using plain integer as NULL pointer
> > drivers/usb/gadget/amd5536udc.c:3285:9: warning: Using plain integer as NULL pointer
> > drivers/usb/gadget/amd5536udc.c:3293:9: warning: Using plain integer as NULL pointer
>
> I'd suggest that you mention "sparse" in the title and/or changelog.
> Otherwise people wonder what's up with their gcc.
>
Noted, will do so in future.
Harvey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/