summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch')
-rw-r--r--debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch b/debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch
index e87d48c18..2c778adff 100644
--- a/debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch
+++ b/debian/patches-rt/printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch
@@ -2,7 +2,7 @@ From: He Zhe <zhe.he@windriver.com>
Date: Tue, 24 Sep 2019 15:26:39 +0800
Subject: [PATCH] printk: devkmsg: read: Return EPIPE when the first
message user-space wants has gone
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz
When user-space wants to read the first message, that is when user->seq
is 0, and that message has gone, it currently automatically resets
@@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
-@@ -703,14 +703,10 @@ static ssize_t devkmsg_read(struct file
+@@ -713,14 +713,10 @@ static ssize_t devkmsg_read(struct file
goto out;
}