summaryrefslogtreecommitdiff
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-02-25 20:58:43 +0400
committerFelipe Balbi <balbi@ti.com>2014-03-05 19:44:48 +0400
commiteee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 (patch)
tree4838a95542403643b7848dbafee18703118cd77e /drivers/block/cciss.c
parent40f099e32c2a06bad7d75683421e30fcc74924cd (diff)
downloadlinux-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