summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJoe Perches2016-10-11 22:51:59 +0200
committerLinus Torvalds2016-10-12 00:06:30 +0200
commit15c03cfeabff447abec9e05b5830922099b89943 (patch)
treea82043724bf1bdf5eace0e76e1dbe4680c37a06a /scripts/checkpatch.pl
parentcheckpatch: externalize the structs that should be const (diff)
downloadkernel-qcow2-linux-15c03cfeabff447abec9e05b5830922099b89943.tar.gz
kernel-qcow2-linux-15c03cfeabff447abec9e05b5830922099b89943.tar.xz
kernel-qcow2-linux-15c03cfeabff447abec9e05b5830922099b89943.zip
const_structs.checkpatch: add frequently used from Julia Lawall's list
Using const is generally a good idea. Julia Lawall has created a list of always const and almost always const structs in the kernel sources. Link: https://lkml.org/lkml/2016/8/28/95 Add the most frequently used (> 50 cases) that are almost always or always const. Link: http://lkml.kernel.org/r/1e16020f8027654db0095bbfbcc11da51025365c.1472664220.git.joe@perches.com Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: Julia Lawall <julia.lawall@lip6.fr> 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/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions