aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-02-19 13:33:06 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-10 08:27:55 +0000
commit1487e7bae809d73461940a6ef8c1ffc7c4faa0d3 (patch)
tree25f6e9edae325a8af3e9d57fa98b28f6a30879a1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 5.12-rc2 (diff)
downloadkernel-1487e7bae809d73461940a6ef8c1ffc7c4faa0d3.tar.gz
kernel-1487e7bae809d73461940a6ef8c1ffc7c4faa0d3.zip
leds: trigger: Fix error path to not unlock the unlocked mutex
ttyname is allocated before the mutex is taken, so it must not be unlocked in the error path. Fixes: fd4a641ac88f ("leds: trigger: implement a tty trigger") Reported-by: Pavel Machek <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions