summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2021-03-07 00:45:45 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 12:51:42 +0100
commitc021e02357703b959e20c458d64b6d4e0d5b8012 (patch)
treedd9fcec8f96aea01590a3b4b9dbd846521f4f936 /tools/perf/scripts/python/bin
parentf8cb3d556be31d2f41f54a7d7623930b05c9b340 (diff)
downloadlinux-c021e02357703b959e20c458d64b6d4e0d5b8012.tar.gz
linux-c021e02357703b959e20c458d64b6d4e0d5b8012.zip
usb: gadget: legacy: fix error return code of multi_bind()
When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error return code of multi_bind() is assigned. To fix this bug, status is assigned with -ENOMEM in this case. Reported-by: TOTE Robot <oslab@tsinghua.edu.cn> Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Link: https://lore.kernel.org/r/20210307084545.21775-1-baijiaju1990@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions