]> Gentwo Git Trees - linux/.git/commit
sysctl: update comments to new registration APIs
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 10 Aug 2024 17:00:35 +0000 (19:00 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Oct 2024 13:28:28 +0000 (15:28 +0200)
commit50a191a8a12b33dfad3b27c6ba4e76c5ba39db73
tree75ea51268c41295cc2eb1bf9d0ce0b8ae5e4404c
parent7701ab7846922e81e65315051d599d6d9b6d41c0
sysctl: update comments to new registration APIs

The sysctl registration APIs do not need a terminating table entry
anymore and with commit acc154691fc7 ("sysctl: Warn on an empty procname
element") even emit warnings if such a sentinel entry is supplied.

While at it also remove the mention of "table->de" which was removed in
commit 3fbfa98112fc ("[PATCH] sysctl: remove the proc_dir_entry member
for the sysctl tables") back in 2007.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/sysctl.h