diff options
| author | Joel Granados <joel.granados@kernel.org> | 2025-10-01 15:46:36 +0200 |
|---|---|---|
| committer | Joel Granados <joel.granados@kernel.org> | 2025-11-27 15:43:20 +0100 |
| commit | 6ca07a9b63ff4ac24931a21086542cd7092ad74f (patch) | |
| tree | c455e589b8f59090964db31a5c9ad9ac0b36e88c /tools/docs/parse-headers.py | |
| parent | 74a7b4f18396f07e87c7fda5c19d1fcfb8c1dd44 (diff) | |
sysctl: Replace void pointer with const pointer to ctl_table
* Replace void* data in the converter functions with a const struct
ctl_table* table as it was only getting forwarding values from
ctl_table->extra{1,2}.
* Remove the void* data in the do_proc_* functions as they already had a
pointer to the ctl_table.
* Remove min/max structures do_proc_do{uint,int}vec_minmax_conv_param;
the min/max values get passed directly in ctl_table.
* Keep min/max initialization in extra{1,2} in proc_dou8vec_minmax.
* The do_proc_douintvec was adjusted outside sysctl.c as it is exported
to fs/pipe.c.
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
