checkpatch: externalize the structs that should be const
authorJoe Perches <joe@perches.com>
Tue, 11 Oct 2016 20:51:56 +0000 (13:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:30 +0000 (15:06 -0700)
commitbf1fa1dae68e1b58b7b7fd61bde654d37da1de57
treea49132ae5825b5876b19a79f847d84caa8f80bc0
parentf333195d41e15e7b105ca270c7662204a1a9d0f5
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>
scripts/checkpatch.pl
scripts/const_structs.checkpatch [new file with mode: 0644]