Re: Mutex stays locked on error

2020-06-23 Thread Alex Deucher
On Tue, Jun 23, 2020 at 5:02 PM John van der Kamp wrote: > > Try to mail the patch again, this time inline. Hope this is how you can > process it. Can you use git to create the patch (git commit -a -s) and use git to generate the patch (git format-patch -1) and then send that out? Make sure to a

Mutex stays locked on error

2020-06-23 Thread John van der Kamp
Try to mail the patch again, this time inline. Hope this is how you can process it. John diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c index dcf84a61de37..949d10ef8304 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_

Re: Mutex stays locked on error

2020-06-23 Thread Nirmoy
Hi John, The patch looks correct. Can you please send a proper patch so that we can apply it. Thanks, Nirmoy On 6/23/20 7:48 PM, John van der Kamp wrote: 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 wh

Mutex stays locked on error

2020-06-23 Thread John van der Kamp
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. Johndiff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c b/dr