summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 17:39:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 17:39:59 +0000
commit27d3313807296c3943a96ceef8c2b7279cb56962 (patch)
tree7d08e78c36ab6437b403fc7cd8c23e41f135c7a3 /debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch
parentMerging upstream version 6.7.7. (diff)
downloadlinux-27d3313807296c3943a96ceef8c2b7279cb56962.tar.xz
linux-27d3313807296c3943a96ceef8c2b7279cb56962.zip
Adding debian version 6.7.7-1.debian/6.7.7-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch')
-rw-r--r--debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch b/debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch
deleted file mode 100644
index 8a1473c93d..0000000000
--- a/debian/patches-rt/0100-printk-Add-sparse-notation-to-console_srcu-locking.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From: John Ogness <john.ogness@linutronix.de>
-Date: Mon, 9 Oct 2023 13:55:19 +0000
-Subject: [PATCH 100/134] printk: Add sparse notation to console_srcu locking
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/6.6/older/patches-6.6.7-rt18.tar.xz
-
-kernel/printk/printk.c:284:5: sparse: sparse: context imbalance in
-'console_srcu_read_lock' - wrong count at exit
-include/linux/srcu.h:301:9: sparse: sparse: context imbalance in
-'console_srcu_read_unlock' - unexpected unlock
-
-Reported-by: kernel test robot <lkp@intel.com>
-Fixes: 6c4afa79147e ("printk: Prepare for SRCU console list protection")
-Signed-off-by: John Ogness <john.ogness@linutronix.de>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/printk/printk.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/kernel/printk/printk.c
-+++ b/kernel/printk/printk.c
-@@ -282,6 +282,7 @@ EXPORT_SYMBOL(console_list_unlock);
- * Return: A cookie to pass to console_srcu_read_unlock().
- */
- int console_srcu_read_lock(void)
-+ __acquires(&console_srcu)
- {
- return srcu_read_lock_nmisafe(&console_srcu);
- }
-@@ -295,6 +296,7 @@ EXPORT_SYMBOL(console_srcu_read_lock);
- * Counterpart to console_srcu_read_lock()
- */
- void console_srcu_read_unlock(int cookie)
-+ __releases(&console_srcu)
- {
- srcu_read_unlock_nmisafe(&console_srcu, cookie);
- }