[PATCH] soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Sat Feb 15 05:42:53 PST 2025
On Wed, 12 Feb 2025 15:35:18 -0600, 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").
>
> This issue is found by our static analysis tool.
>
> [...]
Applied, thanks!
[1/1] soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
https://git.kernel.org/krzk/linux/c/c8222ef6cf29dd7cad21643228f96535cc02b327
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
More information about the linux-arm-kernel
mailing list