]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: do not report nr_static as a static declaration
authorAndy Whitcroft <apw@canonical.com>
Tue, 6 Jan 2009 22:41:28 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:17 +0000 (15:59 -0800)
commit54cdc657f633f821cf2947475a0802031fda38bc
tree83002f1bac78f652032aa00d81233fe75cbac175
parent6c11a4f1503eb81a086c268c44c6c2944b0d6a23
checkpatch: do not report nr_static as a static declaration

Ensure we do not report identifiers containing the word static as static
declarations.  For example this should not be reported as an unecessary
assignement of 0:

long nr_static = 0;

Signed-off-by: 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