diff options
author | Luben Tuikov <luben.tuikov@amd.com> | 2023-01-04 17:09:02 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-09 16:24:26 -0500 |
commit | 08e60fac1d8c81f211464a30d53832a05e64ed16 (patch) | |
tree | 785526e44307147a1f8113253f62094ae74c51f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | f6e856e72ce51df1e0fe67aecb5f256fbd4190a6 (diff) | |
download | lwn-08e60fac1d8c81f211464a30d53832a05e64ed16.tar.gz lwn-08e60fac1d8c81f211464a30d53832a05e64ed16.zip |
drm/amdgpu: Fix potential NULL dereference
Fix potential NULL dereference, in the case when "man", the resource manager
might be NULL, when/if we print debug information.
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: AMD Graphics <amd-gfx@lists.freedesktop.org>
Cc: Dan Carpenter <error27@gmail.com>
Cc: kernel test robot <lkp@intel.com>
Fixes: 7554886daa31ea ("drm/amdgpu: Fix size validation for non-exclusive domains (v4)")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions