summaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-10-11 13:51:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-11 15:06:30 -0700
commit15c03cfeabff447abec9e05b5830922099b89943 (patch)
treea82043724bf1bdf5eace0e76e1dbe4680c37a06a /scripts/unifdef.c
parentbf1fa1dae68e1b58b7b7fd61bde654d37da1de57 (diff)
downloadlinux-15c03cfeabff447abec9e05b5830922099b89943.tar.gz
linux-15c03cfeabff447abec9e05b5830922099b89943.tar.bz2
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/unifdef.c')
0 files changed, 0 insertions, 0 deletions