[PATCH v2 16/18] const_structs.checkpatch: add ctl_table

From: Thomas Weißschuh
Date: Mon Dec 04 2023 - 03:08:47 EST


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@xxxxxxxxxxxxxx>
---
scripts/const_structs.checkpatch | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index 188412aa2757..0621c2d652bb 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -5,6 +5,7 @@ block_device_operations
clk_ops
comedi_lrange
component_ops
+ctl_table
dentry_operations
dev_pm_ops
dma_map_ops

--
2.43.0