From: Hannes Eder Date: Fri, 27 Feb 2009 01:04:31 +0000 (+0100) Subject: USB: host: fix sparse warning: Using plain integer as NULL pointer X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a9f8ec4db1d308643e13ec7638ccb5ace4d34982;p=linux-2.6-omap-h63xx.git USB: host: fix sparse warning: Using plain integer as NULL pointer Fix this sparse warning:  drivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer Signed-off-by: Hannes Eder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index 2947c69b347..5ac489ee3da 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c @@ -2684,7 +2684,7 @@ static int oxu_reset(struct usb_hcd *hcd) oxu->urb_len = 0; /* FIMXE */ - hcd->self.controller->dma_mask = 0UL; + hcd->self.controller->dma_mask = NULL; if (oxu->is_otg) { oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;