commit | 0607f8622953541e95030ab011258d9f1f381357 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Dec 01 11:03:54 2010 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Wed Dec 01 11:03:54 2010 +0200 |
tree | 3958a9076d3a31a091a250f6ac21331346b2520d | |
parent | fcf173e4511193b1efeccb0f22a8c641b464353b [diff] |
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>