diff options
author | Ze Huang <huangze@whut.edu.cn> | 2025-06-24 00:11:13 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-06-24 21:36:14 +0200 |
commit | 65bd0be486390fc12a84eafaad78758c5e5a55e6 (patch) | |
tree | 71f4efd915ff5d3ad7930b053ec5e295d80ce6e3 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b58ea88d301cd4c0403f298468442dacac4f8c4e (diff) |
pinctrl: canaan: k230: add NULL check in DT parse
Add a NULL check for the return value of of_get_property() when
retrieving the "pinmux" property in the group parser. This avoids
a potential NULL pointer dereference if the property is missing
from the device tree node.
Also fix a typo ("sintenel") in the device ID match table comment,
correcting it to "sentinel".
Fixes: 545887eab6f6 ("pinctrl: canaan: Add support for k230 SoC")
Reported-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Ze Huang <huangze@whut.edu.cn>
Link: https://lore.kernel.org/20250624-k230-return-check-v1-1-6b4fc5ba0c41@whut.edu.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions