]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.15-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2022 14:45:27 +0000 (16:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2022 14:45:27 +0000 (16:45 +0200)
added patches:
watch-queue-remove-spurious-double-semicolon.patch

queue-5.15/series
queue-5.15/watch-queue-remove-spurious-double-semicolon.patch [new file with mode: 0644]

index 9ae6a118d8089d029e65d1994911dd24ac4500d4..0381ccd24f4543a511f45daaf01960a45cc4b293 100644 (file)
@@ -191,3 +191,4 @@ tty-drop-tty_schedule_flip.patch
 tty-extract-tty_flip_buffer_commit-from-tty_flip_buffer_push.patch
 tty-use-new-tty_insert_flip_string_and_push_buffer-in-pty_write.patch
 net-usb-ax88179_178a-needs-flag_send_zlp.patch
+watch-queue-remove-spurious-double-semicolon.patch
diff --git a/queue-5.15/watch-queue-remove-spurious-double-semicolon.patch b/queue-5.15/watch-queue-remove-spurious-double-semicolon.patch
new file mode 100644 (file)
index 0000000..eb8a370
--- /dev/null
@@ -0,0 +1,36 @@
+From 44e29e64cf1ac0cffb152e0532227ea6d002aa28 Mon Sep 17 00:00:00 2001
+From: Linus Torvalds <torvalds@linux-foundation.org>
+Date: Thu, 21 Jul 2022 10:30:14 -0700
+Subject: watch-queue: remove spurious double semicolon
+
+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);
+               }
+       }