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:
b2a4a7c
)
tty: Fix inverted logic in send_break
author
Alan Cox
<alan@redhat.com>
Mon, 30 Jun 2008 16:40:08 +0000
(17:40 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 3 Jul 2008 02:21:48 +0000
(19:21 -0700)
Not sure how this came to get inverted but it appears to have been my
mess up.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index
e94bee0
..
7501310
100644
(file)
--- a/
drivers/char/tty_io.c
+++ b/
drivers/char/tty_io.c
@@
-3322,7
+3322,7
@@
static int send_break(struct tty_struct *tty, unsigned int duration)
msleep_interruptible(duration);
tty->ops->break_ctl(tty, 0);
tty_write_unlock(tty);
- if (
!
signal_pending(current))
+ if (signal_pending(current))
return -EINTR;
return 0;
}