diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-10-18 03:04:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:17 -0700 |
commit | 75e8b71d559632dd70c9799ea8b5c133a2ddcea9 (patch) | |
tree | b6e278a84e0f221dfcd4d2095e104f3575f6ce7f /drivers/video/sis/sis_accel.c | |
parent | 77bf2bab91e4e7df361963451c7b9a803516438c (diff) |
tty_ioctl: fix the baud_table check in encode_baud_rate
The tty_termios_encode_baud_rate() function as defined by tty_ioctl.c has a
problem with the baud_table within. The comparison operators are reversed
and as a result this table's entries never match and BOTHER is always used.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sis/sis_accel.c')
0 files changed, 0 insertions, 0 deletions