diff options
author | Julia Lawall <julia@diku.dk> | 2010-05-26 17:59:27 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-27 09:47:02 +0200 |
commit | 1efddcc981c95e62c4e305fd462e3e98b6f9c5cd (patch) | |
tree | 9b2bea6600a1bf6c6a11aeca4ec001a793dc5dcc /crypto/sha256_generic.c | |
parent | ALSA: emu10k1: allow high-resolution mixer controls (diff) | |
download | linux-1efddcc981c95e62c4e305fd462e3e98b6f9c5cd.tar.xz linux-1efddcc981c95e62c4e305fd462e3e98b6f9c5cd.zip |
sound: Add missing spin_unlock
Add a spin_unlock missing on the error path.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E1;
@@
* spin_lock(E1,...);
<+... when != E1
if (...) {
... when != E1
* return ...;
}
...+>
* spin_unlock(E1,...);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions