const_structs.checkpatch: add ctl_table
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 5 Aug 2024 09:39:40 +0000 (11:39 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 9 Oct 2024 11:39:11 +0000 (13:39 +0200)
Now that the sysctl core can handle "const struct ctl_table", make
sure that new usages of the struct already enter the tree as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
scripts/const_structs.checkpatch

index 014b3bf..e8609a0 100644 (file)
@@ -6,6 +6,7 @@ bus_type
 clk_ops
 comedi_lrange
 component_ops
+ctl_table
 dentry_operations
 dev_pm_ops
 device_type