linux/drivers/usb/renesas_usbhs
Jia-Ju Bai 3af3260528 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 <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Link: https://lore.kernel.org/r/20210307090030.22369-1-baijiaju1990@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-23 12:42:15 +01:00
..
common.c
common.h
fifo.c usb: renesas_usbhs: fix error return code of usbhsf_pkt_handler() 2021-03-23 12:42:15 +01:00
fifo.h usb: renesas_usbhs: getting residue from callback_result 2020-06-24 17:14:44 +02:00
Kconfig
Makefile
mod.c
mod.h
mod_gadget.c usb: Use fallthrough pseudo-keyword 2020-07-10 08:55:17 +02:00
mod_host.c
pipe.c usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM 2021-03-10 09:36:13 +01:00
pipe.h
rcar2.c
rcar2.h
rcar3.c
rcar3.h
rza.c
rza.h
rza2.c