diff options
author | Ran Wang <ran.wang_1@nxp.com> | 2020-10-16 07:33:26 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-27 11:57:24 +0300 |
commit | 48e7bbbbb261b007fe78aa14ae62df01d236497e (patch) | |
tree | 0019819dc398cf24334f0e691cd2c7d3f753d31a /lib/test_overflow.c | |
parent | 0d66e04875c5aae876cf3d4f4be7978fa2b00523 (diff) | |
download | linux-48e7bbbbb261b007fe78aa14ae62df01d236497e.tar.xz |
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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions