提交 c0754c99 编写于 作者: A Alan Cox 提交者: Linus Torvalds

68360serial: Note that there isn't any info->mcr locking

Noticed while auditing the code for the BKL elimination project
Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6e4d376c
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册