Skip to content

Commit 5046037

Browse files
andy-shevpmladek
authored andcommitted
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 <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bba18a1 commit 5046037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/printk/printk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2705,7 +2705,7 @@ static int try_enable_new_console(struct console *newcon, bool user_specified)
27052705
/*
27062706
* Some consoles, such as pstore and netconsole, can be enabled even
27072707
* without matching. Accept the pre-enabled consoles only when match()
2708-
* and setup() had a change to be called.
2708+
* and setup() had a chance to be called.
27092709
*/
27102710
if (newcon->flags & CON_ENABLED && c->user_specified == user_specified)
27112711
return 0;

0 commit comments

Comments
 (0)