summaryrefslogtreecommitdiffstats
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-28 22:28:31 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-28 13:21:20 -0800
commitc976cc3aa99e813084fc4bd295c9f7b706738b48 (patch)
treeeee120b3cbbcf3bca9b9a5e6dea6d9441f516ec0 /lib/debug_locks.c
parent2c590f3ca99c193a04fe90ec89046138b66fcc1e (diff)
Staging: generic_serial: fix double locking bug
spin_lock_irqsave() is not nestable. The second time that it gets called it overwrites the "flags" variable and so IRQs can't be restored properly. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions