After a recent sync-check.sh update, a 'make -s' build prints a
single line of output from the 'cd -' command:

    /git/linux/tools/objtool

This is clearly unintended, so revert back to a completely quiet
build by redirecting the cd output to /dev/null.

Fixes: 2ffd84ae973b ("objtool: Update sync-check.sh from perf's 
check-headers.sh")
Signed-off-by: Arnd Bergmann <a...@arndb.de>
---
 tools/objtool/sync-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/sync-check.sh b/tools/objtool/sync-check.sh
index 0a832e265a50..94b8d76c2851 100755
--- a/tools/objtool/sync-check.sh
+++ b/tools/objtool/sync-check.sh
@@ -48,4 +48,4 @@ check arch/x86/include/asm/insn.h     '-I "^#include 
[\"<]\(asm/\)*inat.h[\">]"'
 check arch/x86/lib/inat.c             '-I "^#include 
[\"<]\(../include/\)*asm/insn.h[\">]"'
 check arch/x86/lib/insn.c             '-I "^#include 
[\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]"'
 
-cd -
+cd - > /dev/null
-- 
2.20.0

Reply via email to