mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
rio: addition has higher precedence than ?:
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
22654b41a7
commit
1f85449ffd
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ void rio_copy_to_card(void *from, void __iomem *to, int len)
|
|||
|
||||
int rio_minor(struct tty_struct *tty)
|
||||
{
|
||||
return tty->index + (tty->driver == rio_driver) ? 0 : 256;
|
||||
return tty->index + ((tty->driver == rio_driver) ? 0 : 256);
|
||||
}
|
||||
|
||||
static int rio_set_real_termios(void *ptr)
|
||||
|
|
Loading…
Reference in a new issue