diff options
| author | 2023-10-11 09:21:43 +0800 | |
|---|---|---|
| committer | 2023-10-13 11:33:15 -0400 | |
| commit | 2c1fe3c480f9e1deefd50d4b18be4a046011ee1f (patch) | |
| tree | d4da537da5f5e38853045ab9e6639c7624d5eb2c /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/amdgpu: Correctly use bo_va->ref_count in compute VMs (diff) | |
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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
