From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5CB6FA0096 for ; Mon, 6 May 2019 14:57:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A6FE374C; Mon, 6 May 2019 14:57:07 +0200 (CEST) Received: from mail-ua1-f65.google.com (mail-ua1-f65.google.com [209.85.222.65]) by dpdk.org (Postfix) with ESMTP id 513B32BB0 for ; Mon, 6 May 2019 14:57:03 +0200 (CEST) Received: by mail-ua1-f65.google.com with SMTP id s11so896037uae.7 for ; Mon, 06 May 2019 05:57:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hK3Dnk+n6iQp0bC5f0ZJE2p058c2C6wyHj/mzYo2Wrs=; b=i4VwDLW6n77JM99HuLrrAMUP3nPSvb0eTsje1/JF+OvJYN8E6wZxKabJg3KC3lO2m7 uE78ACTuWfmWCK5Pl+V30+cu3zVBPPupkL3m4ljNgXRIz6iT/jSWVRf0wbYThpZ2MdUo o6wunAre64elcORFIthquhvPtnITBiEmONggJmVZ54xaR5xVViEnit/Ol91WcuVsaP3f 35wSCz0Ab8PbnkRht3HQgp18b09yI/U2hs0RDMN/TJvfyzzqbUUcs9lZH0hzK/GNnKwI 83TvjJ4O/kvQe28QjZU97nudet/T51YpfvUZzsoSTa953aJ1xo35WelBZkBgisyuTCrl YBAA== X-Gm-Message-State: APjAAAW5MDbL6EfvaMYZqJlEPq3iPhaLRiLTvmvBIKyxYR/RsIXdlwV7 0R61//PsJH7unGA2rMK3utu9H4CS4zlzhRHiwmVx2jtd X-Google-Smtp-Source: APXvYqxqJecuztGvgb7/+U0R+iNhBcOGKPYVfKJBH63gNthP5ZrXakGD980+SvxS3lTEuWyurPyuZs/Wfm3UtAEY5kE= X-Received: by 2002:a9f:2085:: with SMTP id 5mr1220647uaa.53.1557147422367; Mon, 06 May 2019 05:57:02 -0700 (PDT) MIME-Version: 1.0 References: <1556894060-13573-1-git-send-email-david.marchand@redhat.com> <1556894060-13573-2-git-send-email-david.marchand@redhat.com> <20190503150346.GA32640@hmswarspite.think-freely.org> In-Reply-To: From: David Marchand Date: Mon, 6 May 2019 14:56:51 +0200 Message-ID: To: Neil Horman Cc: dev , Thomas Monjalon , dpdk stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH 2/4] devtools: handle section suppression X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Fri, May 3, 2019 at 7:16 PM David Marchand wrote: > On Fri, May 3, 2019 at 5:18 PM Neil Horman wrote: > >> On Fri, May 03, 2019 at 04:34:18PM +0200, David Marchand wrote: >> > Even if rare, the check script should handle removing a section. >> > >> > Fixes: 4bec48184e33 ("devtools: add checks for ABI symbol addition") >> > Cc: stable@dpdk.org >> > >> > Signed-off-by: David Marchand >> > --- >> > devtools/check-symbol-change.sh | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/devtools/check-symbol-change.sh >> b/devtools/check-symbol-change.sh >> > index 8da7650..d5fad04 100755 >> > --- a/devtools/check-symbol-change.sh >> > +++ b/devtools/check-symbol-change.sh >> > @@ -32,6 +32,7 @@ build_map_changes() >> > # symbol rule below >> > /^.*{/ { >> > gsub("+", ""); >> > + gsub("-", ""); >> > if (in_map == 1) { >> > sec=$(NF-1); in_sec=1; >> > } >> > -- >> > 1.8.3.1 >> > >> > >> Don't you also need to add some logic in the symbol detection match rule >> to >> print an appropriate indicator that a symbol is being removed? With just >> this >> change, you will note that you are parsing a section, but you will never >> trigger >> a symbol match >> > > I do remember seeing a warning about the "-EXPERIMENTAL" section. > And this is why I added this. > But since then I reorganised my series and eliminated some parts... so you > are most likely right. > I will double check and repost. > > Yes, you are right, I moved this out of another patch that I ended up not sending. But it makes no sense by itself. I will drop this in v2. Any comments on the other patches ? Thanks Neil. -- David Marchand