diff options
author | 2023-10-11 09:21:43 +0800 | |
---|---|---|
committer | 2023-10-13 11:33:15 -0400 | |
commit | 2c1fe3c480f9e1deefd50d4b18be4a046011ee1f (patch) | |
tree | d4da537da5f5e38853045ab9e6639c7624d5eb2c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: Correctly use bo_va->ref_count in compute VMs (diff) | |
download | linux-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