diff options
author | Felipe Balbi <balbi@ti.com> | 2010-12-01 11:03:54 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-01 11:03:54 +0200 |
commit | 0607f8622953541e95030ab011258d9f1f381357 (patch) | |
tree | 3958a9076d3a31a091a250f6ac21331346b2520d /drivers/usb/Kconfig | |
parent | fcf173e4511193b1efeccb0f22a8c641b464353b (diff) | |
download | linux-stable-0607f8622953541e95030ab011258d9f1f381357.tar.gz linux-stable-0607f8622953541e95030ab011258d9f1f381357.tar.bz2 linux-stable-0607f8622953541e95030ab011258d9f1f381357.zip |
usb: musb: gadget: prevent a NULL pointer dereference
Case we can't allocate struct musb_request,
prevent a NULL pointer dereference by returning
early.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions