diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-23 05:36:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 14:13:29 +0100 |
| commit | f2b6ebf61e8fcd0b1f03a084d39742b1f6113ac4 (patch) | |
| tree | 4c19562057454ba009c98e2559bb5526d1a83caf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d07247ff2515d7d2db60e6492cd4662d87bf7bf2 (diff) | |
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 <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions