Messages in this thread Patch in this message | | | From | Andy Shevchenko <> | Subject | [PATCH v1 6/6] console: Fix trivia typo 'change' -> 'chance' | Date | Thu, 18 Jun 2020 19:47:51 +0300 |
| |
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 <andriy.shevchenko@linux.intel.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index aaea3ad182e1..6623e975675a 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; -- 2.27.0
| |