Re: [PATCH 03/10] usb: fix integer as NULL pointer warnings

Harvey Harrison
2008-05-01T23:10:08Z

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@gmail.com> 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