Files
linux/drivers/gpu/drm/amd/amdgpu
Cong Liu f387bb578d drm/amdgpu: fix a memory leak in amdgpu_ras_feature_enable
This patch fixes a memory leak in the amdgpu_ras_feature_enable() function.
The leak occurs when the function sends a command to the firmware to enable
or disable a RAS feature for a GFX block. If the command fails, the kfree()
function is not called to free the info memory.

Fixes: 9f051d6ff1 ("drm/amdgpu: Free ras cmd input buffer properly")
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Cong Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
2023-09-20 17:27:04 -04:00
..
…
…
…
…
…
2023-02-03 15:37:31 -05:00
…
…
…
…
…
2023-08-07 16:35:38 -04:00
2023-08-07 16:35:38 -04:00
2023-08-07 16:35:38 -04:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-08-09 09:43:49 -04:00
…
…
…
…
…
…
…
2023-06-09 12:41:11 -04:00
…
…