summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2024-06-21 15:10:31 +0800
committerMaxime Ripard <mripard@kernel.org>2024-06-26 15:32:03 +0200
commit7bd09a2db0f617377027a2bb0b9179e6959edff3 (patch)
treed0e7cd1f861a53f26826cc3383a48dd9edab2f09 /tools/perf/scripts/python/export-to-postgresql.py
parent97370f8ed271405bab2af42b2d3abbb4002c9114 (diff)
drm/qxl: Add check for drm_cvt_mode
Add check for the return value of drm_cvt_mode() and return the error if it fails in order to avoid NULL pointer dereference. Fixes: 1b043677d4be ("drm/qxl: add qxl_add_mode helper function") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Heng Qi <hengqi@linux.alibaba.com> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240621071031.1987974-1-nichen@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions