]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16e399deb4d12153fbb311c17881db04ee329641
treea49132ae5825b5876b19a79f847d84caa8f80bc0
parent2f9596f5be7b05d50a5f70ce077aaf9525c3e85b
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]