From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] checkpatches.sh: Add checks for ABI symbol addition Date: Mon, 22 Jan 2018 03:05:36 +0100 Message-ID: <1534298.C48F8mzJuD@xps> References: <20180115190545.25687-1-nhorman@tuxdriver.com> <10549424.KHioEKbQpN@xps> <20180122015429.GC5415@neilslaptop.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, john.mcnamara@intel.com, bruce.richardson@intel.com, Ferruh Yigit , Stephen Hemminger To: Neil Horman Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 029E1A48B for ; Mon, 22 Jan 2018 03:06:13 +0100 (CET) In-Reply-To: <20180122015429.GC5415@neilslaptop.think-freely.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/01/2018 02:54, Neil Horman: > On Sun, Jan 21, 2018 at 09:29:18PM +0100, Thomas Monjalon wrote: > > > $verbose || printf '\n### %s\n\n' "$3" > > > printf '%s\n' "$report" | sed -n '1,/^total:.*lines checked$/p' > > > + > > > + echo > > > + echo "Checking API additions/removals:" > > > > You should respect $verbose before printing such header. > > > I can add a quiet/verbose mode option, but I didn't think it was needed here > since its being run automatically from within checkpatches. I mean there is a verbose option already. So you just have to take it into account when printing. Thanks