[PATCH] reset: uniphier-glue: Fix possible null-ptr-deref
Philipp Zabel
p.zabel at pengutronix.de
Tue Jan 3 02:51:23 PST 2023
On Mo, 2022-11-14 at 08:49 +0800, Hui Tang wrote:
> 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 at huawei.com>
Thank you, applied to reset/fixes.
regards
Philipp
More information about the linux-arm-kernel
mailing list