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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 14 Apr 2009 19:01:56 -0700 (PDT)
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
	Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
	Alessandro Suardi <alessandro.suardi@...il.com>
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 2.6.30-rc2



On Wed, 15 Apr 2009, Zhang, Yanmin wrote:
> 
> There are lots of conflictions when I apply it to 2.6.29.
> 
> Bleow are just some.
> 
> patching file arch/arm/configs/xm_x2xx_defconfig
> Hunk #1 FAILED at 1.
> Hunk #2 succeeded at 62 (offset -1 lines).

Damn.

It patches just fine if you use "git apply".

The problem? I had enabled rename detection in my .gitconfig due to 
testing a git patch, and forgotten all about it. So when I generated the 
patch, it had rename detection on. And so part of the patch looks like

	diff --git a/arch/arm/configs/xm_x2xx_defconfig b/arch/arm/configs/cm_x2xx_defconfig
	similarity index 83%
	copy from arch/arm/configs/xm_x2xx_defconfig
	copy to arch/arm/configs/cm_x2xx_defconfig
	index 1039f36..797b790 100644
	--- a/arch/arm/configs/xm_x2xx_defconfig
	+++ b/arch/arm/configs/cm_x2xx_defconfig
	@@ -1,7 +1,7 @@
	 #
	 # Automatically generated make config: don't edit
	-# Linux kernel version: 2.6.27-rc8
	-# Sun Oct  5 11:05:36 2008
	+# Linux kernel version: 2.6.29-rc2
	+# Sun Feb  1 16:31:36 2009
	 #
	 CONFIG_ARM=y
	...

and other parts just contain pure renames, and "patch" obviously won't 
understand any of that.

My bad. I didn't mean to leave people without git out in the rain. I've
re-uploaded a fixed one that doesn't have those git features..

Alessandro - did you also do things by applying that patch? Maybe your 
compile failure can be explained by the same thing, and just comes from 
not noticing the patch apply failure.

Sorry about that. The fixed patch is on master.kernel.org and should be 
mirroring out asap. And I've fixed my .gitconfig, and hopefully this won't 
happen again.

		Linus
--
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