Thread (2 messages) 2 messages, 2 authors, 2010-05-29

Re: [PATCH 4/17] drivers/isdn/hardware/mISDN: Add missing spin_unlock

From: David Miller <davem@davemloft.net>
Date: 2010-05-29 07:19:43
Also in: kernel-janitors, lkml

From: Julia Lawall <redacted>
Date: Wed, 26 May 2010 17:55:10 +0200 (CEST)
From: Julia Lawall <redacted>

Add a spin_unlock missing on the error path.  The return value of write_reg
seems to be completely ignored, so it seems that the lock should be
released in every case.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
 ...
Signed-off-by: Julia Lawall <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help