summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2026-06-25 22:38:16 +0200
committerJoel Granados <joel.granados@kernel.org>2026-07-08 13:12:30 +0200
commitc27eb1e1c3f5a3968ba25ad8977b7104f82f9433 (patch)
treef7f7fb538d70acdb108a0138312838e00c9f22b8 /include/linux/sysctl.h
parenta3c70a5a9f944184299596d8934f1f4674caf359 (diff)
downloadlinux-next-c27eb1e1c3f5a3968ba25ad8977b7104f82f9433.tar.gz
linux-next-c27eb1e1c3f5a3968ba25ad8977b7104f82f9433.zip
sysctl: Add negp parameter to douintvec converter functions
Updates all douintvec converter function signatures to include a bool *negp parameter. This is a preparation commit required to eventually generate do_proc_douintvec with a macro. The negp argument will be ignored as it is not relevant for the uint type. Note that do_proc_uint_conv_pipe_maxsz in pipe.c is also modified. Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 5c8c17f98513..8f8e357b1f4d 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -102,7 +102,7 @@ int proc_douintvec_minmax(const struct ctl_table *table, int write, void *buffer
size_t *lenp, loff_t *ppos);
int proc_douintvec_conv(const struct ctl_table *table, int write, void *buffer,
size_t *lenp, loff_t *ppos,
- int (*conv)(unsigned long *lvalp, unsigned int *valp,
+ int (*conv)(bool *negp, ulong *lvalp, uint *valp,
int write, const struct ctl_table *table));
int proc_uint_k2u_conv(ulong *u_ptr, const uint *k_ptr);
int proc_uint_u2k_conv_uop(const ulong *u_ptr, uint *k_ptr,