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 /net/unix/sysctl_net_unix.c | |
| 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>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
