From: H Hartley Sweeten Date: Tue, 17 Nov 2009 22:53:41 +0000 (-0800) Subject: USB: hcd.c: quiet NULL pointer sparse noise X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=576a362ad2103da481e1f6e13de01f33d3d4c7b1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git USB: hcd.c: quiet NULL pointer sparse noise Quiet the following sparse noise: warning: Using plain integer as NULL pointer Signed-off-by: H Hartley Sweeten Cc: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 026ab2fe5c2d..daac0427bfd5 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -1607,7 +1607,7 @@ int usb_hcd_check_bandwidth(struct usb_device *udev, { int num_intfs, i, j; struct usb_interface_cache *intf_cache; - struct usb_host_interface *alt = 0; + struct usb_host_interface *alt = NULL; int ret = 0; struct usb_hcd *hcd; struct usb_host_endpoint *ep;