Mutex stays locked on error

John van der Kamp sjonny at suffe.me.uk
Tue Jun 23 17:48:56 UTC 2020


Hello,

I was reading some code and came across this which looks like a mutex not 
being unlocked when an error happens. I don't know what the code does or 
how to test it, but it looks quite obvious. Patch is attached.

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amdgpu_dm_dhcp-mutex_unlock_fix.diff
Type: text/x-diff
Size: 603 bytes
Desc: 
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200623/daec50e0/attachment.diff>


More information about the amd-gfx mailing list