diff options
| author | Joel Granados <[email protected]> | 2025-05-02 20:47:06 +0000 |
|---|---|---|
| committer | Joel Granados <[email protected]> | 2025-07-23 09:52:48 +0000 |
| commit | 79ac8df97408b97175c01b6bff5ce0a97f35b439 (patch) | |
| tree | e8fee69efebb33a050ad5b52cc2f7348b230434c /rust/helpers/bug.c | |
| parent | fork: mv threads-max into kernel/fork.c (diff) | |
| download | kernel-79ac8df97408b97175c01b6bff5ce0a97f35b439.tar.gz kernel-79ac8df97408b97175c01b6bff5ce0a97f35b439.zip | |
Input: sysrq: mv sysrq into drivers/tty/sysrq.c
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_minmax as the former is local to
kernel/sysctl.c. Here we use the minmax version of do_proc_dointvec
because do_proc_dointvec is static and calling do_proc_dointvec_minmax
with a NULL min and max is the same as calling do_proc_dointvec.
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.
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions
