tools/objtool/Makefile: don't assume sync-check.sh is executable
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Jan 2018 00:53:17 +0000 (16:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Jan 2018 18:42:48 +0000 (10:42 -0800)
commit0f908ccbeca99ddf0ad60afa710e72aded4a5ea7
treebe154720504b7af3dfda2e7b27699cb0932d9c27
parenta0b1280368d1e91ab72f849ef095b4f07a39bbf1
tools/objtool/Makefile: don't assume sync-check.sh is executable

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 <nicolasbock@gentoo.org>
Reported-by Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/objtool/Makefile