]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pcmcia/cm4000: fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Mon, 22 Jun 2009 17:42:10 +0000 (18:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:26 +0000 (16:50 -0700)
commitbd1a917e737a8d6439254bd81d45211399569d33
tree60e19352055b82b48504bfa80ff54ffa64c22b9d
parentb6cd9d132aa5e2ef0abdd1d5171e45dad9aafc29
pcmcia/cm4000: fix lock imbalance

commit 69ae59d7d8df14413cf0a97b3e372d7dc8352563 upstream.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/pcmcia/cm4000_cs.c