From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id DF4951B47A for ; Fri, 19 Oct 2018 12:48:54 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6BF0C2256D; Fri, 19 Oct 2018 06:48:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 19 Oct 2018 06:48:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=TJMOf9B4lSwNkgDDI2WEIk1X1xwiEPlRPNdmvNq5CDE=; b=B2NWy5Kt9PUn APszvVBXs4H0R1hk4+7qoS1M1awQqp0KM1hkNXtrlZdfwvvSwaV/sCUOWRCpeSJL 4skHMjY6E3UmDNTdDVYpcZ7kItjKD9FaUKwvI2vJAZetRp7BrjJIkQ1WSI289IzI 7zkdaok1DVznhHCpxjUNfARdPl0tWEA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=TJMOf9B4lSwNkgDDI2WEIk1X1xwiEPlRPNdmvNq5C DE=; b=EucGRNhV6wkrty6Sy/kKTqcY7rryosDgX87ttdn32dh7satz872m+M+p/ 27vpTuWM9JPhJ0tXXt3FPgQHdvoHVnztrf2pd1Y35JA9dA3q3WPMszWSkcMP88K9 EVTBFGwomn0UZCsFsCsJv9Rfw6Q76t3pE5KspIsqEvfYZjvo+8Bgd0xqmFBDXBch J3YeqOthe1g28qoiLLxSjoMQ9xRxPBBf2JuvtLT6Qw2hRAXpmIQp4e2v8zkBmLP2 31WW7I26ou+U02tTuWGPRkrHce0FmVeQB1wXW1UDRiTMA1JY90tGv9EcDDtZW4jn V5BQJiSlSsO8nk8U8R3A6EILXHybw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 73627102E0; Fri, 19 Oct 2018 06:48:53 -0400 (EDT) From: Thomas Monjalon To: nhorman@tuxdriver.com Cc: dev@dpdk.org, Liang Ma Date: Fri, 19 Oct 2018 12:48:57 +0200 Message-ID: <5107033.R7BcetJnk1@xps> In-Reply-To: <1538666296-25742-1-git-send-email-liang.j.ma@intel.com> References: <1538666296-25742-1-git-send-email-liang.j.ma@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] devtools/check-symbol-changes.sh: awk script issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2018 10:48:55 -0000 Hi Neil, Are you OK with this patch? 04/10/2018 17:18, Liang Ma: > There is a issue inside check-symbol-changes.sh awk script. > When the script try to parse the section name from patch, > The script put char "+" into the section name. > > Signed-off-by: Liang Ma > --- > devtools/check-symbol-change.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh > index c0d2a6d..4a0f4d8 100755 > --- a/devtools/check-symbol-change.sh > +++ b/devtools/check-symbol-change.sh > @@ -30,7 +30,7 @@ build_map_changes() > # the rest of the line with the + and { symbols remvoed. > # Triggering this rule sets in_sec to 1, which actives the > # symbol rule below > - /^.*{/ { > + /^[^-+]*{/ { > if (in_map == 1) { > sec=$(NF-1); in_sec=1; > }