diff options
| author | Yang Yingliang <[email protected]> | 2021-09-15 11:49:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-21 16:26:49 +0200 |
| commit | 14651496a3de6807a17c310f63c894ea0c5d858e (patch) | |
| tree | 1677baee467a73f81cbba17489ac713d430a22c2 /tools/perf/scripts/python | |
| parent | c03d36995222400c1bbbb7245a233c4304cfc257 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions