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

From: Andrew Morton
Date: Thu May 01 2008 - 19:03:16 EST


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.

--
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/