|
Message-ID: <20110703114239.GA4074@albatros> Date: Sun, 3 Jul 2011 15:42:39 +0400 From: Vasiliy Kulikov <segoon@...nwall.com> To: Alan Cox <alan@...rguk.ukuu.org.uk> Cc: Linus Torvalds <torvalds@...ux-foundation.org>, Ingo Molnar <mingo@...e.hu>, Andrew Morton <akpm@...ux-foundation.org>, James Morris <jmorris@...ei.org>, Namhyung Kim <namhyung@...il.com>, Greg Kroah-Hartman <gregkh@...e.de>, kernel-hardening@...ts.openwall.com, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2] kernel: escape non-ASCII and control characters in printk() On Sun, Jul 03, 2011 at 14:01 +0400, Vasiliy Kulikov wrote: > diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c > index fc2cdb6..b2a659b 100644 > --- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c > +++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c > @@ -38,7 +38,7 @@ static unsigned int dbg_level; > > static char version[] = > DRV_MODULE_DESC " " DRV_MODULE_NAME > - " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; > + " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")"; > > MODULE_AUTHOR("Chelsio Communications, Inc."); > MODULE_DESCRIPTION(DRV_MODULE_DESC); > @@ -1402,7 +1402,7 @@ static int __init cxgb3i_init_module(void) > { > int rc; > > - printk(KERN_INFO "%s", version); > + printk(KERN_INFO "%s\b", version); Surely this and init/main.c should have \n, sorry. -- Vasiliy Kulikov http://www.openwall.com - bringing security into open computing environments
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.