https://github.com/torvalds/linux
Revision e9098cc9aef13bd56e821f628c83f709d3347af1 authored by Melissa Wen on 27 February 2024, 19:08:25 UTC, committed by Alex Deucher on 06 March 2024, 20:44:18 UTC
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6683 amdgpu_dm_connector_funcs_force()
warn: variable dereferenced before check 'dc_link' (see line 6663)

Fixes: 967176179215 ("drm/amd/display: fix null-pointer dereference on edid reading")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 6601c15
History
Tip revision: e9098cc9aef13bd56e821f628c83f709d3347af1 authored by Melissa Wen on 27 February 2024, 19:08:25 UTC
drm/amd/display: check dc_link before dereferencing
Tip revision: e9098cc
File Mode Size
alloc
bindings
kernel
macros
uapi
.gitignore -rw-r--r-- 202 bytes
Makefile -rw-r--r-- 19.7 KB
bindgen_parameters -rw-r--r-- 900 bytes
build_error.rs -rw-r--r-- 1.3 KB
compiler_builtins.rs -rw-r--r-- 2.0 KB
exports.c -rw-r--r-- 862 bytes
helpers.c -rw-r--r-- 5.0 KB

back to top