summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2022-11-14 03:49:58 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2023-01-03 13:30:46 +0300
commit3a2390c6777e3f6662980c6cfc25cafe9e4fef98 (patch)
tree2c08e11e53d5df357f87b41bd16603b62dab67db /ipc
parent13678f3feb3009b23aab424864fd0dac0765c83e (diff)
downloadlinux-3a2390c6777e3f6662980c6cfc25cafe9e4fef98.tar.xz
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 <tanghui20@huawei.com> Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/20221114004958.258513-1-tanghui20@huawei.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions