]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: Free ras cmd input buffer properly
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 29 Aug 2023 15:20:27 +0000 (23:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:51:16 +0000 (15:51 -0400)
commitbf7aa8bea9cbe26dfc7fe5cf9c0ed05a419dbb64
treeddb490c50aed2ffbb7aa689ef6d1b5fa6795f22f
parenteae369917516fff195a49bdff89dcf230671cd6b
drm/amdgpu: Free ras cmd input buffer properly

Do not access the pointer for ras input cmd buffer
if it is even not allocated.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Stanley Yang <Stanley.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c