projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4d376
)
68360serial: Note that there isn't any info->mcr locking
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 30 Apr 2008 07:53:27 +0000
(
00:53
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:40 +0000
(08:29 -0700)
Noticed while auditing the code for the BKL elimination project
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/68360serial.c
patch
|
blob
|
history
diff --git
a/drivers/serial/68360serial.c
b/drivers/serial/68360serial.c
index f5946360187448ea65fd7996dbeb28ccb71279a0..6f540107d0bb4386aea12193001266914d05a0aa 100644
(file)
--- 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)