diff options
author | Hui Tang <[email protected]> | 2022-11-14 08:49:58 +0800 |
---|---|---|
committer | Philipp Zabel <[email protected]> | 2023-01-03 11:30:46 +0100 |
commit | 3a2390c6777e3f6662980c6cfc25cafe9e4fef98 (patch) | |
tree | 2c08e11e53d5df357f87b41bd16603b62dab67db /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 13678f3feb3009b23aab424864fd0dac0765c83e (diff) |
reset: uniphier-glue: Fix possible null-ptr-deref
It will cause null-ptr-deref when resource_size(res) invoked,
if platform_get_resource() returns NULL.
Fixes: 499fef09a323 ("reset: uniphier: add USB3 core reset control")
Signed-off-by: Hui Tang <[email protected]>
Reviewed-by: Kunihiko Hayashi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions