Skip to content

Commit

Permalink
USB: host: fix sparse warning: Using plain integer as NULL pointer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent 2dfa319 commit a9f8ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/oxu210hp-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a9f8ec4

Please sign in to comment.