aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHenry Martin <bsdhenrymartin@gmail.com>2025-04-01 17:16:47 +0800
committerLee Jones <lee@kernel.org>2025-04-15 18:27:38 +0100
commite12d3e1624a02706cdd3628bbf5668827214fa33 (patch)
tree245e60494f52e4a04f7cc798924a07067aee7e07 /tools/perf/scripts/python/exported-sql-viewer.py
parentfbdev: Remove constants of unused events (diff)
downloadlinux-rng-e12d3e1624a02706cdd3628bbf5668827214fa33.tar.xz
linux-rng-e12d3e1624a02706cdd3628bbf5668827214fa33.zip
backlight: pm8941: Add NULL check in wled_configure()
devm_kasprintf() returns NULL when memory allocation fails. Currently, wled_configure() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue. Fixes: f86b77583d88 ("backlight: pm8941: Convert to using %pOFn instead of device_node.name") Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org> Link: https://lore.kernel.org/r/20250401091647.22784-1-bsdhenrymartin@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions