Re: [PATCH -next] printk: fix broken 'console' kernel parameter

From: Joe Perches
Date: Tue Oct 23 2012 - 09:49:06 EST


On Tue, 2012-10-23 at 21:41 +0800, Ming Lei wrote:
> If CONFIG_A11Y_BRAILLE_CONSOLE is not enabled, _braille_console_setup()
> should return NULL to parse the parameter further in console_setup().
>
> This patch fixes the broken 'console' kernel parameter, which makes the
> Pandaboard not boot with 'console=ttyO2'.
[]
> diff --git a/kernel/printk/braille.h b/kernel/printk/braille.h
[]
> @@ -28,7 +28,7 @@ braille_set_options(struct console_cmdline *c, char *brl_options)
> static inline char *
> _braille_console_setup(char **str, char **brl_options)
> {
> - return *str;
> + return NULL;
> }

Thanks, I'll wait a day or two for any more reports
then repost the whole series.


--
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/