diff options
author | 2024-10-25 15:34:08 +0800 | |
---|---|---|
committer | 2024-12-13 10:51:24 +0100 | |
commit | e1e1af9148dc4c866eda3fb59cd6ec3c7ea34b1d (patch) | |
tree | c058162d1a3a6dbddd17b8beac0a926d47655e89 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FS (diff) | |
download | wireguard-linux-e1e1af9148dc4c866eda3fb59cd6ec3c7ea34b1d.tar.xz wireguard-linux-e1e1af9148dc4c866eda3fb59cd6ec3c7ea34b1d.zip |
drm/panel: himax-hx83102: Add a check to prevent NULL pointer dereference
drm_mode_duplicate() could return NULL due to lack of memory,
which will then call NULL pointer dereference. Add a check to
prevent it.
Fixes: 0ef94554dc40 ("drm/panel: himax-hx83102: Break out as separate driver")
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241025073408.27481-3-zhangzekun11@huawei.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025073408.27481-3-zhangzekun11@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions