Re: [PATCH 07/12] Input: sysrq: mv sysrq into drivers/tty/sysrq.c

From
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date
2025-05-09 14:49:41
Also in
linux-fsdevel, linux-mm, linux-serial, lkml, rcu
Reply to
Joel Granados, 2025-05-09
On Fri, May 09, 2025 at 02:54:11PM +0200, Joel Granados wrote:
Move both sysrq ctl_table and supported sysrq_sysctl_handler helper
function into drivers/tty/sysrq.c. Replaced the __do_proc_dointvec in
helper function with do_proc_dointvec as the former is local to
kernel/sysctl.c.

This is part of a greater effort to move ctl tables into their
respective subsystems which will reduce the merge conflicts in
kernel/sysctl.c.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
---
 drivers/tty/sysrq.c | 38 ++++++++++++++++++++++++++++++++++++++
 kernel/sysctl.c     | 30 ------------------------------
 2 files changed, 38 insertions(+), 30 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thread (43 messages) 43 messages, 7 authors, last reply 2025-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help