checkpatch: do not warn about -p0 patches when checking files
authorAndy Whitcroft <apw@canonical.com>
Fri, 27 Feb 2009 22:03:06 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Feb 2009 00:26:21 +0000 (16:26 -0800)
commite2f7aa4b8bc811ebf8afbdf423caf90a5a03cb08
tree2c3dc6651cbdf54d2a7234bdaa75664b93ca2945
parentf4a8773676c21a68b0666fbe48af4fe1af89dfa9
checkpatch: do not warn about -p0 patches when checking files

We are triggering the -p0 check for our own diffs generated using --file
command line option.  Suppress this check for files.

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