const_structs.checkpatch: add frequently used from Julia Lawall's list
authorJoe Perches <joe@perches.com>
Sat, 10 Sep 2016 10:34:22 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:22 +0000 (20:34 +1000)
commiteedaed0894ce98e91eb6fe8f767a97eade75003e
treed374b9860b567a8a684b0dde5abcbc0c9aac3536
parent73cf488a70d6d8aef2d21eef22afeb392244b810
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>
scripts/const_structs.checkpatch
This page took 0.030941 seconds and 5 git commands to generate.