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.
Showing the changes to scripts/const_structs.checkpatch (1 of 1 file). Show all
Unified · Split
| @@ -6,6 +6,7 @@ bus_type · 5 unmodified lines | |||
| 6 | clk_ops | 6 | clk_ops |
| 7 | comedi_lrange | 7 | comedi_lrange |
| 8 | component_ops | 8 | component_ops |
| 9 | ctl_table | ||
| 9 | dentry_operations | 10 | dentry_operations |
| 10 | dev_pm_ops | 11 | dev_pm_ops |
| 11 | device_type | 12 | device_type |