diff mbox series

objdump: restore quiet build output

Message ID 20190910092031.2897823-1-arnd@arndb.de
State New
Headers show
Series objdump: restore quiet build output | expand

Commit Message

Arnd Bergmann Sept. 10, 2019, 9:20 a.m. UTC
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 <arnd@arndb.de>

---
 tools/objtool/sync-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.0

Comments

Josh Poimboeuf Sept. 16, 2019, 7:18 p.m. UTC | #1
On Tue, Sep 10, 2019 at 11:20:24AM +0200, Arnd Bergmann wrote:
> 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 <arnd@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

> 


Arnaldo, do you want to pick this one up?

Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>


-- 
Josh
diff mbox series

Patch

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