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 | 6 | clk_ops |
| 7 | 7 | comedi_lrange |
| 8 | 8 | component_ops |
| 9 | +ctl_table | |
| 9 | 10 | dentry_operations |
| 10 | 11 | dev_pm_ops |
| 11 | 12 | device_type |