diff options
author | 2025-02-12 15:35:18 -0600 | |
---|---|---|
committer | 2025-02-15 14:37:19 +0100 | |
commit | c8222ef6cf29dd7cad21643228f96535cc02b327 (patch) | |
tree | 33f66768b442587442f18ff2d80a44fea8577a61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: s3c: Do not include <linux/fb.h> (diff) | |
download | wireguard-linux-c8222ef6cf29dd7cad21643228f96535cc02b327.tar.xz wireguard-linux-c8222ef6cf29dd7cad21643228f96535cc02b327.zip |
soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
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.
Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com>
Link: https://lore.kernel.org/r/20250212213518.69432-1-chenyuan0y@gmail.com
Fixes: 3253b7b7cd44 ("soc: samsung: Add exynos chipid driver support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions