diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:18:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:18:13 +0000 |
commit | 225809f918c2f2c9c831ea16ddb9b81485af5f34 (patch) | |
tree | 5332d51631f39fc96804d8001996f028bbbbdf54 /debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch | |
parent | Merging upstream version 6.10.3. (diff) | |
download | linux-225809f918c2f2c9c831ea16ddb9b81485af5f34.tar.xz linux-225809f918c2f2c9c831ea16ddb9b81485af5f34.zip |
Merging debian version 6.10.3-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch')
-rw-r--r-- | debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch b/debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch new file mode 100644 index 0000000000..f31e4da245 --- /dev/null +++ b/debian/patches-rt/0041-proc-consoles-Add-notation-to-c_start-c_stop.patch @@ -0,0 +1,34 @@ +From: John Ogness <john.ogness@linutronix.de> +Date: Thu, 2 May 2024 08:02:58 +0000 +Subject: [PATCH 41/48] proc: consoles: Add notation to c_start/c_stop +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/6.10/older/patches-6.10.2-rt14.tar.xz + +fs/proc/consoles.c:78:13: warning: context imbalance in 'c_start' + - wrong count at exit +fs/proc/consoles.c:104:13: warning: context imbalance in 'c_stop' + - unexpected unlock + +Signed-off-by: John Ogness <john.ogness@linutronix.de> +Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> +--- + fs/proc/consoles.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/fs/proc/consoles.c ++++ b/fs/proc/consoles.c +@@ -68,6 +68,7 @@ static int show_console_dev(struct seq_f + } + + static void *c_start(struct seq_file *m, loff_t *pos) ++ __acquires(&console_mutex) + { + struct console *con; + loff_t off = 0; +@@ -94,6 +95,7 @@ static void *c_next(struct seq_file *m, + } + + static void c_stop(struct seq_file *m, void *v) ++ __releases(&console_mutex) + { + console_list_unlock(); + } |