projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index e94bee0323148548d9374852e7b140999af40b81..750131010af01875d06d1c5e11818112c02ecbd2 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;
}