diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-07 01:00:30 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 12:42:15 +0100 |
| commit | 3af32605289e9f508cc40ff1046e15ac6c80d2fa (patch) | |
| tree | 5cb25a4056c48bc79a8614fd7925ec3fcb124194 /tools/perf/scripts/python | |
| parent | 0c59f678fcfc6dd53ba493915794636a230bc4cc (diff) | |
usb: renesas_usbhs: fix error return code of usbhsf_pkt_handler()
When __usbhsf_pkt_get() returns NULL to pkt, no error return code of
usbhsf_pkt_handler() is assigned.
To fix this bug, ret is assigned with -EINVAL 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')
0 files changed, 0 insertions, 0 deletions