lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 194/201] watch-queue: remove spurious double semicolon
    Date
    From: Linus Torvalds <torvalds@linux-foundation.org>

    commit 44e29e64cf1ac0cffb152e0532227ea6d002aa28 upstream.

    Sedat Dilek noticed that I had an extraneous semicolon at the end of a
    line in the previous patch.

    It's harmless, but unintentional, and while compilers just treat it as
    an extra empty statement, for all I know some other tooling might warn
    about it. So clean it up before other people notice too ;)

    Fixes: 353f7988dd84 ("watchqueue: make sure to serialize 'wqueue->defunct' properly")
    Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    kernel/watch_queue.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/kernel/watch_queue.c
    +++ b/kernel/watch_queue.c
    @@ -227,7 +227,7 @@ void __post_watch_notification(struct wa

    if (lock_wqueue(wqueue)) {
    post_one_notification(wqueue, n);
    - unlock_wqueue(wqueue);;
    + unlock_wqueue(wqueue);
    }
    }


    \
     
     \ /
      Last update: 2022-07-27 19:25    [W:4.050 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site