aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2021-03-23 05:36:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 14:13:29 +0100
commitf2b6ebf61e8fcd0b1f03a084d39742b1f6113ac4 (patch)
tree4c19562057454ba009c98e2559bb5526d1a83caf /tools/perf/scripts/python
parentusb: core: sysfs: Check for SSP rate in speed attr (diff)
downloadlinux-f2b6ebf61e8fcd0b1f03a084d39742b1f6113ac4.tar.gz
linux-f2b6ebf61e8fcd0b1f03a084d39742b1f6113ac4.zip
usb: gadget: legacy: fix error return code of msg_bind()
When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error return code of msg_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/20210323123648.3997-1-baijiaju1990@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions