lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1 6/6] console: Fix trivia typo 'change' -> 'chance'
    Date
    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
    \
     
     \ /
      Last update: 2020-06-18 18:49    [W:4.203 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site