lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1377210638.12003.52.camel@joe-AO722>
Date:	Thu, 22 Aug 2013 15:30:38 -0700
From:	Joe Perches <joe@...ches.com>
To:	Brian Norris <computersforpeace@...il.com>
Cc:	Andy Whitcroft <apw@...onical.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: checkpatch.pl: false warning about "-p0 patch"

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 to be a -p0 patch
> Is that expected?

Yes.  Basically, don't have a file (or a directory)
named a or b in the kernel root directory.

			if (!$file && $tree && $p1_prefix ne '' &&
			    -e "$root/$p1_prefix") {
				WARN("PATCH_PREFIX",
				     "patch prefix '$p1_prefix' exists, appears to be a -p0 patch\n");
			}


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ