diff options
author | 2023-11-14 17:27:51 +0200 | |
---|---|---|
committer | 2023-11-17 00:50:33 -0500 | |
commit | 270b301beca58e427a0fda7523a71a9562e644bb (patch) | |
tree | bd8d8c500253aa0e74c98a702bf45ed6a296ecb8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer() (diff) | |
download | wireguard-linux-270b301beca58e427a0fda7523a71a9562e644bb.tar.xz wireguard-linux-270b301beca58e427a0fda7523a71a9562e644bb.zip |
drm/amd/display: fix NULL dereference
The following patch will fix a minor issue where a debug message is
referencing an struct that has just being checked whether is null or
not. This has been noticed by using coccinelle, in the following output:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c:540:25-29: ERROR: aconnector is NULL but dereferenced.
Fixes: 5d72e247e58c ("drm/amd/display: switch DC over to the new DRM logging macros")
Signed-off-by: José Pekkarinen <jose.pekkarinen@foxhound.fi>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.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