[PATCH] soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()

Krzysztof Kozlowski krzk at kernel.org
Wed Feb 12 23:32:43 PST 2025


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



More information about the linux-arm-kernel mailing list