diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches-rt/0095-printk-console-remove-unnecessary-safe-buffer-usage.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches-rt/0095-printk-console-remove-unnecessary-safe-buffer-usage.patch b/debian/patches-rt/0095-printk-console-remove-unnecessary-safe-buffer-usage.patch index 2b93c47dd..fec96d79f 100644 --- a/debian/patches-rt/0095-printk-console-remove-unnecessary-safe-buffer-usage.patch +++ b/debian/patches-rt/0095-printk-console-remove-unnecessary-safe-buffer-usage.patch @@ -1,8 +1,8 @@ -From 259c5c359d06d8bbbddebc6cc12fc2abc6bb2783 Mon Sep 17 00:00:00 2001 +From fc0bb2cf754415add4be3a04a82d7b9c7c6f92de Mon Sep 17 00:00:00 2001 From: John Ogness <john.ogness@linutronix.de> Date: Wed, 17 Feb 2021 18:28:05 +0100 Subject: [PATCH 095/323] printk: console: remove unnecessary safe buffer usage -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz Upon registering a console, safe buffers are activated when setting up the sequence number to replay the log. However, these are already @@ -15,10 +15,10 @@ Signed-off-by: John Ogness <john.ogness@linutronix.de> 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c -index c553b235d068..aebc9e31b36a 100644 +index 0d233c0573a50..1e7ab017be193 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c -@@ -2970,9 +2970,7 @@ void register_console(struct console *newcon) +@@ -2999,9 +2999,7 @@ void register_console(struct console *newcon) /* * console_unlock(); will print out the buffered messages * for us. @@ -29,7 +29,7 @@ index c553b235d068..aebc9e31b36a 100644 * We're about to replay the log buffer. Only do this to the * just-registered console to avoid excessive message spam to * the already-registered consoles. -@@ -2985,11 +2983,9 @@ void register_console(struct console *newcon) +@@ -3014,11 +3012,9 @@ void register_console(struct console *newcon) exclusive_console_stop_seq = console_seq; /* Get a consistent copy of @syslog_seq. */ @@ -44,5 +44,5 @@ index c553b235d068..aebc9e31b36a 100644 console_unlock(); console_sysfs_notify(); -- -2.43.0 +2.44.0 |