diff options
| author | Yang Yingliang <[email protected]> | 2021-09-15 03:49:25 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-21 14:26:49 +0000 |
| commit | 14651496a3de6807a17c310f63c894ea0c5d858e (patch) | |
| tree | 1677baee467a73f81cbba17489ac713d430a22c2 /drivers/usb/class/cdc-acm.c | |
| parent | USB: cdc-acm: remove duplicate USB device ID (diff) | |
| download | kernel-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
