projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dfa319
)
USB: host: fix sparse warning: Using plain integer as NULL pointer
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 27 Feb 2009 01:04:31 +0000
(
02:04
+0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Mar 2009 23:20:44 +0000
(16:20 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/oxu210hp-hcd.c
b/drivers/usb/host/oxu210hp-hcd.c
index 2947c69b34764ea44881eb2b11825105568582e0..5ac489ee3dab80a766db23a0199186e9f3628585 100644
(file)
--- 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 =
0U
L;
+ hcd->self.controller->dma_mask =
NUL
L;
if (oxu->is_otg) {
oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;