Searched hist:b1f01e2b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/proc/ |
H A D | proc_sysctl.c | b1f01e2b Wed Aug 09 05:49:56 CDT 2023 Joel Granados <joel.granados@gmail.com> sysctl: Add size argument to init_header
In this commit, we add a table_size argument to the init_header function in order to initialize the ctl_table_size variable in ctl_table_header. Even though the size is not yet used, it is now initialized within the sysctl subsys. We need this commit for when we start adding the table_size arguments to the sysctl functions (e.g. register_sysctl, __register_sysctl_table and __register_sysctl_init).
Note that in __register_sysctl_table we temporarily use a calculated size until we add the size argument to that function in subsequent commits.
Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
|