lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110228151641.GN22310@pengutronix.de>
Date:	Mon, 28 Feb 2011 16:16:41 +0100
From:	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>
To:	linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>
Cc:	Russell King - ARM Linux <linux@....linux.org.uk>,
	kernel@...gutronix.de, Arjan van de Ven <arjan@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 6/6] tty/vt: add some KERN_CONT markers to continuation
 lines

Hello Greg,

should this patch go via your tree?

Thanks
Uwe

On Wed, Nov 24, 2010 at 09:57:50AM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> ---
>  drivers/tty/vt/vt.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
> index a8ec48e..e4b05ad 100644
> --- a/drivers/tty/vt/vt.c
> +++ b/drivers/tty/vt/vt.c
> @@ -2930,11 +2930,11 @@ static int __init con_init(void)
>  	gotoxy(vc, vc->vc_x, vc->vc_y);
>  	csi_J(vc, 0);
>  	update_screen(vc);
> -	printk("Console: %s %s %dx%d",
> +	printk(KERN_DEFAULT "Console: %s %s %dx%d",
>  		vc->vc_can_do_color ? "colour" : "mono",
>  		display_desc, vc->vc_cols, vc->vc_rows);
>  	printable = 1;
> -	printk("\n");
> +	printk(KERN_CONT "\n");
>  
>  	release_console_sem();
>  
> @@ -3084,11 +3084,11 @@ static int bind_con_driver(const struct consw *csw, int first, int last,
>  
>  	printk("Console: switching ");
>  	if (!deflt)
> -		printk("consoles %d-%d ", first+1, last+1);
> +		printk(KERN_CONT "consoles %d-%d ", first+1, last+1);
>  	if (j >= 0) {
>  		struct vc_data *vc = vc_cons[j].d;
>  
> -		printk("to %s %s %dx%d\n",
> +		printk(KERN_CONT "to %s %s %dx%d\n",
>  		       vc->vc_can_do_color ? "colour" : "mono",
>  		       desc, vc->vc_cols, vc->vc_rows);
>  
> @@ -3097,7 +3097,7 @@ static int bind_con_driver(const struct consw *csw, int first, int last,
>  			update_screen(vc);
>  		}
>  	} else
> -		printk("to %s\n", desc);
> +		printk(KERN_CONT "to %s\n", desc);
>  
>  	retval = 0;
>  err:
> -- 
> 1.7.2.3
> 
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ