aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/consolemap.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-25 05:37:17 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-04 16:37:17 -0400
commit328be395a396b1333b56e04571365dc614c96e46 (patch)
treee4266351b4641c44f43747e776964d6321f10d3d /drivers/char/consolemap.c
parente59e2bd9e85604ad601ec7dd056baffcd6ad56a0 (diff)
TTY/n_gsm: potential double lock
In gsm_dlci_data_kick() we call gsm_dlci_data_sweep() with the "gsm->tx_lock" held so we can't lock it again inside gsm_dlci_data_sweep(). I removed that lock from and added one to gsmld_write_wakeup() instead. The sweep function is only called from those two places. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Alan Cox <alan@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/consolemap.c')
0 files changed, 0 insertions, 0 deletions