diff options
author | Peter Shkenev <mustela@erminea.space> | 2025-07-17 23:48:17 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-28 16:24:48 -0400 |
commit | b4a69f7f29c8a459ad6b4d8a8b72450f1d9fd288 (patch) | |
tree | 750e8613fb7c1e3f316b30f40d3b3998d6c41419 /rust/helpers/helpers.c | |
parent | c90f2e1172c51fa25492471dc9910e2d7c1444b9 (diff) |
drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities
HUBBUB structure is not initialized on DCE hardware, so check if it is NULL
to avoid null dereference while accessing amdgpu_dm_capabilities file in
debugfs.
Signed-off-by: Peter Shkenev <mustela@erminea.space>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions