diff options
author | Dan Carpenter <[email protected]> | 2016-06-24 15:23:16 +0300 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-06-29 11:13:33 +0300 |
commit | 44963d649da63ce8ed8f41b8a267c745ca1ec0b0 (patch) | |
tree | 1c0e079d1c65a465ad9b98732b7db426dec239d5 /drivers/fpga/fpga-mgr.c | |
parent | e43470dbdfe8922f9b2962184336efaa71e59727 (diff) |
usb: gadget: f_fs: check for allocation failure
Return -ENOMEM if kmalloc() fails.
Fixes: 9353afbbfa7b ('usb: gadget: f_fs: buffer data from ‘oversized’ OUT requests')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions