drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Wed, 3 Jan 2024 16:52:44 +0000 (22:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:30 +0000 (20:14 +0000)
commitaa1791b280ed36005226e031a622091fa7e5382e
tree7632023c1403aa300be5f20983d535df68e97941
parent90df72694a5b7ca2a415eb3baeb9f385cee8033c
drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'

[ Upstream commit 13a1851f923d9a7a78a477497295c2dfd16ad4a4 ]

Fixes the below:
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:1404 amdgpu_ucode_request() warn: '*fw' from request_firmware() not released on lines: 1404.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Lijo Lazar <lijo.lazar@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c