aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-10-11 16:51:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-11 18:06:30 -0400
commitbf1fa1dae68e1b58b7b7fd61bde654d37da1de57 (patch)
treea49132ae5825b5876b19a79f847d84caa8f80bc0 /scripts/const_structs.checkpatch
parentf333195d41e15e7b105ca270c7662204a1a9d0f5 (diff)
checkpatch: externalize the structs that should be const
Make it easier to add new structs that should be const. Link: http://lkml.kernel.org/r/e5a8da43e7c11525bafbda1ca69a8323614dd942.1472664220.git.joe@perches.com Signed-off-by: Joe Perches <joe@perches.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: Kees Cook <keescook@chromium.org> Cc: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
-rw-r--r--scripts/const_structs.checkpatch39
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
new file mode 100644
index 000000000000..1b54425f6c89
--- /dev/null
+++ b/scripts/const_structs.checkpatch
@@ -0,0 +1,39 @@
1acpi_dock_ops
2address_space_operations
3backlight_ops
4block_device_operations
5dentry_operations
6dev_pm_ops
7dma_map_ops
8extent_io_ops
9file_lock_operations
10file_operations
11hv_ops
12ide_dma_ops
13intel_dvo_dev_ops
14item_operations
15iwl_ops
16kgdb_arch
17kgdb_io
18kset_uevent_ops
19lock_manager_operations
20microcode_ops
21mtrr_ops
22neigh_ops
23nlmsvc_binding
24of_device_id
25pci_raw_ops
26pipe_buf_operations
27platform_hibernation_ops
28platform_suspend_ops
29proto_ops
30rpc_pipe_ops
31seq_operations
32snd_ac97_build_ops
33soc_pcmcia_socket_ops
34stacktrace_ops
35sysfs_ops
36tty_operations
37uart_ops
38usb_mon_operations
39wd_ops