From patchwork Thu Oct 4 15:18:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liang, Ma" X-Patchwork-Id: 46101 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49A3A1B51A; Thu, 4 Oct 2018 17:19:16 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 875161B4F3 for ; Thu, 4 Oct 2018 17:19:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2018 08:19:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,340,1534834800"; d="scan'208";a="96462478" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 04 Oct 2018 08:18:20 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w94FIJqB022741; Thu, 4 Oct 2018 16:18:19 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w94FIJGj025821; Thu, 4 Oct 2018 16:18:19 +0100 Received: (from lma25@localhost) by sivswdev01.ir.intel.com with LOCAL id w94FIJZM025817; Thu, 4 Oct 2018 16:18:19 +0100 From: Liang Ma To: nhorman@tuxdriver.com Cc: dev@dpdk.org, Liang Ma Date: Thu, 4 Oct 2018 16:18:16 +0100 Message-Id: <1538666296-25742-1-git-send-email-liang.j.ma@intel.com> X-Mailer: git-send-email 1.7.7.4 Subject: [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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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; }