Loading drivers/char/tty_ioctl.c +1 −3 Original line number Diff line number Diff line Loading @@ -393,9 +393,7 @@ void tty_termios_encode_baud_rate(struct ktermios *termios, termios->c_cflag |= (BOTHER << IBSHIFT); #else if (ifound == -1 || ofound == -1) { static int warned; if (!warned++) printk(KERN_WARNING "tty: Unable to return correct " printk_once(KERN_WARNING "tty: Unable to return correct " "speed data as your architecture needs updating.\n"); } #endif Loading drivers/char/vt.c +1 −5 Original line number Diff line number Diff line Loading @@ -2129,11 +2129,7 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co currcons = vc->vc_num; if (!vc_cons_allocated(currcons)) { /* could this happen? */ static int error = 0; if (!error) { error = 1; printk("con_write: tty %d not allocated\n", currcons+1); } printk_once("con_write: tty %d not allocated\n", currcons+1); release_console_sem(); return 0; } Loading Loading
drivers/char/tty_ioctl.c +1 −3 Original line number Diff line number Diff line Loading @@ -393,9 +393,7 @@ void tty_termios_encode_baud_rate(struct ktermios *termios, termios->c_cflag |= (BOTHER << IBSHIFT); #else if (ifound == -1 || ofound == -1) { static int warned; if (!warned++) printk(KERN_WARNING "tty: Unable to return correct " printk_once(KERN_WARNING "tty: Unable to return correct " "speed data as your architecture needs updating.\n"); } #endif Loading
drivers/char/vt.c +1 −5 Original line number Diff line number Diff line Loading @@ -2129,11 +2129,7 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co currcons = vc->vc_num; if (!vc_cons_allocated(currcons)) { /* could this happen? */ static int error = 0; if (!error) { error = 1; printk("con_write: tty %d not allocated\n", currcons+1); } printk_once("con_write: tty %d not allocated\n", currcons+1); release_console_sem(); return 0; } Loading