USB: host: fix sparse warning: Using plain integer as NULL pointer
Hannes Eder [Fri, 27 Feb 2009 01:04:31 +0000 (02:04 +0100)]
Fix this sparse warning:
┬ádrivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

drivers/usb/host/oxu210hp-hcd.c

index 2947c69..5ac489e 100644 (file)
@@ -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;