From: Andy Shevchenko Date: Thu, 18 Jun 2020 16:47:51 +0000 (+0300) Subject: console: Fix trivia typo 'change' -> 'chance' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=504603767ab639c47912be08d62e02b43125e82e;p=linux.git console: Fix trivia typo 'change' -> 'chance' I bet the word 'chance' has to be used in 'had a chance to be called', but, alas, I'm not native speaker... Signed-off-by: Andy Shevchenko Reviewed-by: Petr Mladek Acked-by: Benjamin Herrenschmidt Signed-off-by: Petr Mladek Link: https://lore.kernel.org/r/20200618164751.56828-7-andriy.shevchenko@linux.intel.com --- diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index aaea3ad182e10..6623e975675a6 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2705,7 +2705,7 @@ static int try_enable_new_console(struct console *newcon, bool user_specified) /* * Some consoles, such as pstore and netconsole, can be enabled even * without matching. Accept the pre-enabled consoles only when match() - * and setup() had a change to be called. + * and setup() had a chance to be called. */ if (newcon->flags & CON_ENABLED && c->user_specified == user_specified) return 0;