diff mbox series

[5/5] const_structs.checkpatch: add ctl_table

Message ID 20240729-sysctl-const-api-v1-5-ca628c7a942c@weissschuh.net (mailing list archive)
State New
Headers show
Series sysctl: prepare sysctl core for const struct ctl_table | expand

Commit Message

Thomas Weißschuh July 29, 2024, 8:43 p.m. UTC
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>
---
 scripts/const_structs.checkpatch | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index 014b3bfe3237..e8609a03c3d8 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -6,6 +6,7 @@  bus_type
 clk_ops
 comedi_lrange
 component_ops
+ctl_table
 dentry_operations
 dev_pm_ops
 device_type