diff options
author | Jaejoong Kim <climbbb.kim@gmail.com> | 2018-07-04 13:51:27 +0900 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-07-26 13:55:17 +0300 |
commit | 7a051e8de3010c2f5f52e0bf305ef96c1f1f19d5 (patch) | |
tree | 0c8484b7ebf7e4fbbed96ddbc4548c027562f8ec /kernel/crash_dump.c | |
parent | 211f658b7b40fd3355a0920481132645e24ffb16 (diff) | |
download | talos-obmc-linux-7a051e8de3010c2f5f52e0bf305ef96c1f1f19d5.tar.gz talos-obmc-linux-7a051e8de3010c2f5f52e0bf305ef96c1f1f19d5.zip |
usb: gadget: storage: Add error handling for no memory
fsg_common_set_num_buffers() may fail due to ENOMEM. So add
error handling for fail case.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions