Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Paul Mundt
On Mon, Aug 20, 2007 at 03:22:47PM -0400, Robin Getz wrote: > Try #4... (sorry) > > From: Robin Getz <[EMAIL PROTECTED]> > > This is a followup to the cleanups for earlyprintk patch from Gerd Hoffmann > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69331af79cf2

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Gerd Hoffmann
Robin Getz wrote: > This ensures that a bootconsole is unregistered if it is not replaced. > The current implementation spews garbage out the bootconsole in this case, > since the bootconsole structure is normally in the init section, and is > freed, but still used. > > Signed-off-by: Robin Getz

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Robin Getz
Try #4... (sorry) From: Robin Getz <[EMAIL PROTECTED]> This is a followup to the cleanups for earlyprintk patch from Gerd Hoffmann http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69331af79cf29e26d1231152a172a1a10c2df511 This ensures that a bootconsole is unregist

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Gerd Hoffmann
Robin Getz wrote: > Try #3... > > From: Robin Getz <[EMAIL PROTECTED]> > +static int __init disable_boot_consoles(void) > +{ > + printk(KERN_INFO "here\n"); leftover debug printk? cheers, Gerd - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Robin Getz
Try #3... From: Robin Getz <[EMAIL PROTECTED]> This is a followup to the cleanups for earlyprintk patch from Gerd Hoffmann http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69331af79cf29e26d1231152a172a1a10c2df511 This ensures that a bootconsole is unregistered if i

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-19 Thread Robin Getz
From: Robin Getz <[EMAIL PROTECTED]> This is a followup to the cleanups for earlyprintk patch from Gerd Hoffmann http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69331af79cf29e26d1231152a172a1a10c2df511 This ensures that a bootconsole is unregistered if it is not re

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-19 Thread Paul Mundt
On Sun, Aug 19, 2007 at 11:11:47PM -0400, Mike Frysinger wrote: > On 8/19/07, Robin Getz <[EMAIL PROTECTED]> wrote: > > +static int __init disable_boot_consoles(void) > > +{ > > + struct console *con; > > + > > + for (con = console_drivers; con; con = con->next) { > > + if

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-19 Thread Mike Frysinger
On 8/19/07, Robin Getz <[EMAIL PROTECTED]> wrote: > +static int __init disable_boot_consoles(void) > +{ > + struct console *con; > + > + for (con = console_drivers; con; con = con->next) { > + if (con->flags & CON_BOOT) { > + printk(KERN_INFO "Turn of