projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0a840
)
tty_port: Fix return on interrupted use
author
Alan Cox
<alan@linux.intel.com>
Fri, 17 Jul 2009 15:17:26 +0000
(16:17 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Jul 2009 15:50:43 +0000
(08:50 -0700)
Whoops.. fortunately not many people use this yet.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_port.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_port.c
b/drivers/char/tty_port.c
index
4e862a7
..
9769b11
100644
(file)
--- a/
drivers/char/tty_port.c
+++ b/
drivers/char/tty_port.c
@@
-267,7
+267,7
@@
int tty_port_block_til_ready(struct tty_port *port,
if (retval == 0)
port->flags |= ASYNC_NORMAL_ACTIVE;
spin_unlock_irqrestore(&port->lock, flags);
- return
0
;
+ return
retval
;
}
EXPORT_SYMBOL(tty_port_block_til_ready);