aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMa Ke <make_ruc2021@163.com>2023-10-11 09:21:43 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-10-13 11:33:15 -0400
commit2c1fe3c480f9e1deefd50d4b18be4a046011ee1f (patch)
treed4da537da5f5e38853045ab9e6639c7624d5eb2c /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdgpu: Correctly use bo_va->ref_count in compute VMs (diff)
downloadlinux-rng-2c1fe3c480f9e1deefd50d4b18be4a046011ee1f.tar.xz
linux-rng-2c1fe3c480f9e1deefd50d4b18be4a046011ee1f.zip
drm/radeon: fix a possible null pointer dereference
In radeon_tv_get_modes(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null point dereference. Signed-off-by: Ma Ke <make_ruc2021@163.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions