Re: checkpatch.pl: false warning about "-p0 patch"

2013-08-22 Thread Joe Perches
On Thu, 2013-08-22 at 15:14 -0700, Brian Norris wrote: > I realized the problem is simply with the existence of a file > named 'b'. That is, checkpatch will give a warning for this: > touch b > git format-patch -1 --stdout | scripts/checkpatch.pl - > WARNING: patch prefix 'b' exists, appears

Re: checkpatch.pl: false warning about "-p0 patch"

2013-08-22 Thread Brian Norris
On Thu, Aug 22, 2013 at 2:57 PM, Joe Perches wrote: > On Thu, 2013-08-22 at 14:45 -0700, Brian Norris wrote: >> Hello, > > Hello. > >> I have received what appears to be a false warning from checkpatch.pl when >> checking a patch named 'b': >> >> $ scripts/checkpatch.pl b >> WARNING: patch

Re: checkpatch.pl: false warning about "-p0 patch"

2013-08-22 Thread Joe Perches
On Thu, 2013-08-22 at 14:45 -0700, Brian Norris wrote: > Hello, Hello. > I have received what appears to be a false warning from checkpatch.pl when > checking a patch named 'b': > > $ scripts/checkpatch.pl b > WARNING: patch prefix 'b' exists, appears to be a -p0 patch > > total: 0

checkpatch.pl: false warning about "-p0 patch"

2013-08-22 Thread Brian Norris
Hello, I have received what appears to be a false warning from checkpatch.pl when checking a patch named 'b': $ scripts/checkpatch.pl b WARNING: patch prefix 'b' exists, appears to be a -p0 patch total: 0 errors, 1 warnings, 16 lines checked b has style problems, please review.