Joel Granados 7347586f00 csky: Remove the size from alignment_tbl declaration
Having to synchronize the number of ctl_table array elements with the
size in the declaration can lead to discrepancies between the two
values. Since commit d7a76ec87195 ("sysctl: Remove check for sentinel
element in ctl_table arrays"), the calculation of the ctl_table array
size is done solely by the ARRAY_SIZE macro removing the need for the
size in the declaration.

Remove the size for the aligment_tbl declaration and const qualify the
array for good measure.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
2025-02-05 10:15:40 +01:00
..
2018-10-26 00:54:24 +08:00
2018-10-26 00:54:24 +08:00
2022-04-18 21:23:55 +08:00