Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53542 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752955AbeAQXHQ (ORCPT ); Wed, 17 Jan 2018 18:07:16 -0500 Date: Wed, 17 Jan 2018 15:07:14 -0800 From: Andrew Morton To: Cc: Joakim.Tjernlund@infinera.com, holger@applied-asynchrony.com, jpoimboe@redhat.com, mingo@kernel.org, nicolasbock@gentoo.org, torvalds@linux-foundation.org, , Subject: Re: Patch "tools/objtool/Makefile: don't assume sync-check.sh is executable" has been added to the 4.14-stable tree Message-Id: <20180117150714.1d940b03c5bec4eb82eeace1@linux-foundation.org> In-Reply-To: <15161833322303@kroah.com> References: <15161833322303@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: stable-owner@vger.kernel.org List-ID: On Wed, 17 Jan 2018 11:02:12 +0100 wrote: > > This is a note to let you know that I've just added the patch titled > > tools/objtool/Makefile: don't assume sync-check.sh is executable > > to the 4.14-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > tools-objtool-makefile-don-t-assume-sync-check.sh-is-executable.patch > and it can be found in the queue-4.14 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let know about it. > > > >From 0f908ccbeca99ddf0ad60afa710e72aded4a5ea7 Mon Sep 17 00:00:00 2001 > From: Andrew Morton > Date: Fri, 12 Jan 2018 16:53:17 -0800 > Subject: tools/objtool/Makefile: don't assume sync-check.sh is executable > > From: Andrew Morton > > commit 0f908ccbeca99ddf0ad60afa710e72aded4a5ea7 upstream. > > patch(1) loses the x bit. So if a user follows our patching > instructions in Documentation/admin-guide/README.rst, their kernel will > not compile. > > Fixes: 3bd51c5a371de ("objtool: Move kernel headers/code sync check to a script") > Reported-by: Nicolas Bock > Reported-by Joakim Tjernlund > Cc: Ingo Molnar > Cc: Josh Poimboeuf > Signed-off-by: Andrew Morton > Signed-off-by: Linus Torvalds > Cc: Holger Hoffst�tte > Signed-off-by: Greg Kroah-Hartman I'm curious. 3bd51c5a371de wasn't marked for any -stable so why is its fix being merged? > --- > tools/objtool/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/tools/objtool/Makefile > +++ b/tools/objtool/Makefile > @@ -46,7 +46,7 @@ $(OBJTOOL_IN): fixdep FORCE > @$(MAKE) $(build)=objtool > > $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN) > - @./sync-check.sh > + @$(CONFIG_SHELL) ./sync-check.sh > $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@