From patchwork Fri Oct 13 12:04:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10004363 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9412060216 for ; Fri, 13 Oct 2017 12:06:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8718129039 for ; Fri, 13 Oct 2017 12:06:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C52D2903B; Fri, 13 Oct 2017 12:06:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EA9429039 for ; Fri, 13 Oct 2017 12:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758075AbdJMME7 (ORCPT ); Fri, 13 Oct 2017 08:04:59 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:50831 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757463AbdJMME5 (ORCPT ); Fri, 13 Oct 2017 08:04:57 -0400 Received: from wuerfel.lan ([46.223.139.202]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0MJU4Z-1e5zVx2adP-0033fn; Fri, 13 Oct 2017 14:04:50 +0200 From: Arnd Bergmann To: Johannes Berg Cc: Arnd Bergmann , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] cfg80211: don't print log output for building shipped-certs Date: Fri, 13 Oct 2017 14:04:30 +0200 Message-Id: <20171013120446.4079666-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:6wHne9AyhkK+SYVH8Ec7STqMmHmbgLeGexOh380OaqKecPj3fZa JE3uNfNalomFGdCfqP0FXp6xagIsPjAJ1SQKSmq9dIcyrV5maF09NxGRfxNdBpO1TVzI0uY Cs7M8mYdURbQKB/VB1Wbx4Z8dKjVcr3rwCcjjEVTxoU/CB9UCnZsH1MGHP+L6xpLp0P1u2/ Xb7Ed+NqBShkRDI1f/U7A== X-UI-Out-Filterresults: notjunk:1; V01:K0:hH3L9YRlVqo=:BLIZyKeRME8CohJ4p32U9R gGi9tZ8pKwugm4Ea1wON8tUJ+th7uDhtAdoYQZr9trYq4sD+To2NKCTxjzMUrLq0KdGWC9iIu f+vFUx42/82jLQS2Vp7EQQr3sxcHrD8KB2NTBdoTi447Weul3f6TDiC+DYMKov89TIfAQHUO5 IZKkY2s/keQkdMfvleWTOZEMB2FsP1pqAgquL1X3MG5Mkf0/Nfu1+uZVe6slCpubSQEqJ5p02 PjzzMWwABJ+bCo39iC03L4WSfB5k/3g0jsk+I7NE2LtsG8KLASnlRazEFQhCvysstz0E568Fq C5OzcaryFLlLklsL0hgVAhS/F905pNLREB1l0JXta1N5G7YjBcC9u2Bpqe/rGH4h0JeX0ljao CTgzlWS2tdSPk9YaKfRa8W70npRPT4x9/Uwn9mAllRYKaAwTE5B5lb8Pc4i+ydluIwbN7MH/3 AwuKkob4J1oxQOCf/OVSN7M49UiIQp0M1acvPb93y9uoFgVF0q/7qyQVPe/oCgRSMFNb6MMIy 5kLHEmdQfjM+/4RCCjQwZbNN26c9PDLLVsMCDwZ/fpacUn9GDzIWMaEWoC/MbIFJapT4sabaY wfHUiBTfEijlstb1gUhVikcCvx55DgplM38AxaSyyjPjQql01Rzb+7y1hsQU7jtKYD/AvwsEB /55EC8susmZKgw4rZKGQQLUXZW8aftKQyt6iDCigtBbAsEY7IeHGoC2VmcrN/2CdlinmYzsQj osvLKChkwoBVPPbfKITeRVwYmKL2FOd25dGW8w== Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Building an allmodconfig kernel with 'make -s' now prints a single line: GEN net/wireless/shipped-certs.c Using '$(kecho)' here will skip the output with 'make -s' but otherwise keeps printing it, which is consistent with how we handle all the other output. Fixes: 90a53e4432b1 ("cfg80211: implement regdb signature checking") Signed-off-by: Arnd Bergmann --- net/wireless/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/wireless/Makefile b/net/wireless/Makefile index 219baea57e4e..e585f3f71f77 100644 --- a/net/wireless/Makefile +++ b/net/wireless/Makefile @@ -23,7 +23,7 @@ cfg80211-y += extra-certs.o endif $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.x509) - @echo " GEN $@" + @$(kecho) " GEN $@" @echo '#include "reg.h"' > $@ @echo 'const u8 shipped_regdb_certs[] = {' >> $@ @for f in $^ ; do hexdump -v -e '1/1 "0x%.2x," "\n"' < $$f >> $@ ; done @@ -32,7 +32,7 @@ $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.x509) $(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%) \ $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%)/*.x509) - @echo " GEN $@" + @$(kecho) " GEN $@" @echo '#include "reg.h"' > $@ @echo 'const u8 extra_regdb_certs[] = {' >> $@ @for f in $^ ; do test -f $$f && hexdump -v -e '1/1 "0x%.2x," "\n"' < $$f >> $@ || true ; done