Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Roel Kluin and committed by
Linus Torvalds
1f85449f 22654b41

+1 -1
+1 -1
drivers/char/rio/rio_linux.c
··· 333 333 334 334 int rio_minor(struct tty_struct *tty) 335 335 { 336 - return tty->index + (tty->driver == rio_driver) ? 0 : 256; 336 + return tty->index + ((tty->driver == rio_driver) ? 0 : 256); 337 337 } 338 338 339 339 static int rio_set_real_termios(void *ptr)