aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorGravatar Yang Yingliang <yangyingliang@huawei.com> 2021-08-31 16:42:36 +0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-09-14 10:32:56 +0200
commit856e6e8e0f9300befa87dde09edb578555c99a82 (patch)
tree162056664d5bfd4df98f64e27d96c2b07301fa63 /drivers/usb/class
parentusb: cdns3: fix race condition before setting doorbell (diff)
downloadlinux-856e6e8e0f9300befa87dde09edb578555c99a82.tar.gz
linux-856e6e8e0f9300befa87dde09edb578555c99a82.tar.bz2
linux-856e6e8e0f9300befa87dde09edb578555c99a82.zip
usb: dwc2: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210831084236.1359677-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions