diff options
author | Felipe Balbi <balbi@ti.com> | 2014-02-25 20:58:43 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-03-05 19:44:48 +0400 |
commit | eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 (patch) | |
tree | 4838a95542403643b7848dbafee18703118cd77e /drivers/block/cciss.c | |
parent | 40f099e32c2a06bad7d75683421e30fcc74924cd (diff) | |
download | linux-eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1.tar.xz |
usb: musb: avoid NULL pointer dereference
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>
Diffstat (limited to 'drivers/block/cciss.c')
0 files changed, 0 insertions, 0 deletions