git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f099e
)
usb: musb: avoid NULL pointer dereference
author
Felipe Balbi
<balbi@ti.com>
Tue, 25 Feb 2014 16:58:43 +0000
(10:58 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 5 Mar 2014 15:44:48 +0000
(09:44 -0600)
instead of relying on the otg pointer, which
can be NULL in certain cases, we can use the
gadget and host pointers we already hold inside
struct musb.
Cc: <stable@vger.kernel.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c
patch
|
blob
|
history
diff --cc
drivers/usb/musb/musb_core.c
Simple merge