aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorKrzysztof Opasiak <[email protected]>2015-07-20 20:15:17 +0200
committerFelipe Balbi <[email protected]>2015-07-29 09:59:19 -0500
commit903588a99c26ed6f103eaa0cfa4ccbe9cd779398 (patch)
tree4a761c5688f43bf48eb3636998aa0965fb9f64b3 /include/linux/stackprotector.h
parentaa7399744dd02537523b7bf9e3070600b6f79751 (diff)
usb: gadget: mass_storage: Free buffers if create lun fails
Creation of LUN 0 may fail (for example due to ENOMEM). As fsg_common_set_num_buffers() does some memory allocation we should free it before it becomes unavailable. Signed-off-by: Krzysztof Opasiak <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions