diff options
author | Yang Yingliang <[email protected]> | 2021-03-30 21:01:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-02 15:40:38 +0200 |
commit | 2e3d055bf27d70204cae349335a62a4f9b7c165a (patch) | |
tree | b9fbc99608eb8d93218b59ef35a865b040bec58e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | f85900067f33319ff888bf0130ac3466316cf7c5 (diff) |
USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
IS_ERR() and PTR_ERR() use wrong pointer, it should be
udc->virt_addr, fix it.
Fixes: 1b9f35adb0ff ("usb: gadget: udc: Add Synopsys UDC Platform driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions