]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: reduce warnings for #include of asm/foo.h to check from arch/bar.c
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:20 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:35 +0000 (11:21 -0700)
commit5aec3d318f1bda095aae7826b6bdcba019ba9601
tree61a66f78f37b264a6e039eeef86453c75c4dd1ff
parent35a10d2e9ef470bdb2ddf3a723fff362da75d3f7
checkpatch: reduce warnings for #include of asm/foo.h to check from arch/bar.c

It is much more likely that an architecture file will want to directly
include asm header files.  Reduce this WARNING to a CHECK when the
referencing file is in the arch directory.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl