checkpatch: don't ask for asm/file.h to linux/file.h unconditionally
authorFabian Frederick <fabf@skynet.be>
Thu, 16 Apr 2015 19:44:25 +0000 (12:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:57 +0000 (09:03 -0400)
commit0e212e0a720601fabda102f7998d27625f9e144a
treeb50a8c487d3484a9e1d3ae16bae49d887558dd9c
parentab7e23f3448e55f4808f443a7b98ded6707701bb
checkpatch: don't ask for asm/file.h to linux/file.h unconditionally

Currently checkpatch warns when asm/file.h is included and linux/file.h
exists.  That conversion can be made when linux/file.h includes asm/file.h
which is not always the case.(See signal.h)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Andy Whitcroft <apw@canonical.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl