Re: [PATCH 6/6] tty/vt: add some KERN_CONT markers to continuationlines

From: Uwe Kleine-König
Date: Mon Feb 28 2011 - 10:16:49 EST


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@xxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/