Home
last modified time | relevance | path

Searched hist:"18 d4b42e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/proc/
H A Dproc_sysctl.c18d4b42e Wed Aug 09 05:49:54 CDT 2023 Joel Granados <joel.granados@gmail.com> sysctl: Use ctl_table_header in list_for_each_table_entry

We replace the ctl_table with the ctl_table_header pointer in
list_for_each_table_entry which is the macro responsible for traversing
the ctl_table arrays. This is a preparation commit that will make it
easier to add the ctl_table array size (that will be added to
ctl_table_header in subsequent commits) to the already existing loop
logic based on empty ctl_table elements (so called sentinels).

Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>