OSDN Git Service

drm:amd:amdgpu: Fix missing bo unlock in failure path
authorSukrut Bellary <sukrut.bellary@linux.com>
Mon, 24 Apr 2023 05:59:10 +0000 (22:59 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:20:26 +0000 (09:20 -0400)
commit609d830048fb00d4fdea59fc9d17a8d63fbddb4a
tree664db3cf949db74b049a6ffacecbc089cec90924
parente94c25567c8519b770985cc86b652b06dce807d2
drm:amd:amdgpu: Fix missing bo unlock in failure path

smatch warning - inconsistent handling of buffer object reserve
and unreserve.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sukrut Bellary <sukrut.bellary@linux.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c