aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-09-15 03:49:25 +0000
committerGreg Kroah-Hartman <[email protected]>2021-09-21 14:26:49 +0000
commit14651496a3de6807a17c310f63c894ea0c5d858e (patch)
tree1677baee467a73f81cbba17489ac713d430a22c2 /drivers/usb/class/cdc-acm.c
parentUSB: cdc-acm: remove duplicate USB device ID (diff)
downloadkernel-14651496a3de6807a17c310f63c894ea0c5d858e.tar.gz
kernel-14651496a3de6807a17c310f63c894ea0c5d858e.zip
usb: musb: tusb6010: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions