projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca4104
)
pcmcia/cm4000: fix lock imbalance
author
Jiri Slaby
<jirislaby@gmail.com>
Mon, 22 Jun 2009 17:42:10 +0000
(18:42 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 22 Jun 2009 18:32:24 +0000
(11:32 -0700)
Don't return from switch/case, break instead, so that we unlock BKL.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pcmcia/cm4000_cs.c
patch
|
blob
|
history
diff --git
a/drivers/char/pcmcia/cm4000_cs.c
b/drivers/char/pcmcia/cm4000_cs.c
index
dbb9125
..
881934c
100644
(file)
--- a/
drivers/char/pcmcia/cm4000_cs.c
+++ b/
drivers/char/pcmcia/cm4000_cs.c
@@
-1575,7
+1575,8
@@
static long cmm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
clear_bit(LOCK_IO, &dev->flags);
wake_up_interruptible(&dev->ioq);
- return 0;
+ rc = 0;
+ break;
case CM_IOCSPTS:
{
struct ptsreq krnptsreq;