From: Alan Cox Date: Wed, 30 Apr 2008 07:53:27 +0000 (-0700) Subject: 68360serial: Note that there isn't any info->mcr locking X-Git-Tag: v2.6.26-rc1~243 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0754c99a6bcfcba7e1d68b75e3f25cb367af0fa;p=linux-2.6 68360serial: Note that there isn't any info->mcr locking Noticed while auditing the code for the BKL elimination project Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c index f594636018..6f540107d0 100644 --- a/drivers/serial/68360serial.c +++ b/drivers/serial/68360serial.c @@ -1282,7 +1282,7 @@ static int rs_360_tiocmset(struct tty_struct *tty, struct file *file, if (tty->flags & (1 << TTY_IO_ERROR)) return -EIO; - + /* FIXME: locking on info->mcr */ if (set & TIOCM_RTS) info->mcr |= UART_MCR_RTS; if (set & TIOCM_DTR)