FAILED: patch "[PATCH] netconsole: fix sysdata_release_enabled_show checking wrong" failed to apply to 6.19-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 6.19-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.19.y
git checkout FETCH_HEAD
git cherry-pick -x 5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026031740-salon-routine-26fd@gregkh' --subject-prefix 'PATCH 6.19.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079 Mon Sep 17 00:00:00 2001
From: Breno Leitao <[email protected]>
Date: Mon, 2 Mar 2026 03:40:46 -0800
Subject: [PATCH] netconsole: fix sysdata_release_enabled_show checking wrong
flag
sysdata_release_enabled_show() checks SYSDATA_TASKNAME instead of SYSDATA_RELEASE, causing the configfs release_enabled attribute to reflect the taskname feature state rather than the release feature state. This is a copy-paste error from the adjacent sysdata_taskname_enabled_show() function.
The corresponding _store function already uses the correct SYSDATA_RELEASE flag.
drivers/net/netconsole.c +1 -1
@@ -617,7 +617,7 @@ static ssize_t sysdata_release_enabled_show(struct config_item *item,bool release_enabled;dynamic_netconsole_mutex_lock (); - release_enabled = !!(nt->sysdata_fields &SYSDATA_TASKNAME ); + release_enabled = !!(nt->sysdata_fields &SYSDATA_RELEASE );dynamic_netconsole_mutex_unlock ();return sysfs_emit (buf,"%d\n" , release_enabled);
Sasha Levin
maintainerPATCH 1/1 netconsole: fix sysdata_release_enabled_show checking wrong flag
From: Breno Leitao <[email protected]>
[ Upstream commit 5af6e8b54927f7a8d3c7fd02b1bdc09e93d5c079 ]
sysdata_release_enabled_show() checks SYSDATA_TASKNAME instead of SYSDATA_RELEASE, causing the configfs release_enabled attribute to reflect the taskname feature state rather than the release feature state. This is a copy-paste error from the adjacent sysdata_taskname_enabled_show() function.
The corresponding _store function already uses the correct SYSDATA_RELEASE flag.
--- drivers/net/netconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/netconsole.c +1 -1
@@ -508,7 +508,7 @@ static ssize_t sysdata_release_enabled_show(struct config_item *item,bool release_enabled;mutex_lock (&dynamic_netconsole_mutex); - release_enabled = !!(nt->sysdata_fields &SYSDATA_TASKNAME ); + release_enabled = !!(nt->sysdata_fields &SYSDATA_RELEASE );mutex_unlock (&dynamic_netconsole_mutex);return sysfs_emit (buf,"%d\n" , release_enabled);
Signature · 1 line
2.51.0