diff options
author | Ran Wang <ran.wang_1@nxp.com> | 2020-10-16 06:33:26 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-27 09:57:24 +0100 |
commit | 48e7bbbbb261b007fe78aa14ae62df01d236497e (patch) | |
tree | 0019819dc398cf24334f0e691cd2c7d3f753d31a /drivers/usb/dwc3 | |
parent | usb: gadget: goku_udc: fix potential crashes in probe (diff) | |
download | linux-48e7bbbbb261b007fe78aa14ae62df01d236497e.tar.xz linux-48e7bbbbb261b007fe78aa14ae62df01d236497e.zip |
usb: gadget: fsl: fix null pointer checking
fsl_ep_fifo_status() should return error if _ep->desc is null.
Fixes: 75eaa498c99e (“usb: gadget: Correct NULL pointer checking in fsl gadget”)
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions