Re: [PATCH] soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
From: Krzysztof Kozlowski
Date: Thu Feb 13 2025 - 02:32:59 EST
On 12/02/2025 22:35, Chenyuan Yang wrote:
> soc_dev_attr->revision could be NULL, thus,
> a pointer check is added to prevent potential NULL pointer dereference.
> This is similar to the fix in commit 3027e7b15b02
> ("ice: Fix some null pointer dereference issues in ice_ptp.c").
That's not really relevant. Drop.
>
> This issue is found by our static analysis tool.
>
Missing Fixes tag and Cc-stable.
Best regards,
Krzysztof