From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97110A00C5; Mon, 6 Jul 2020 11:51:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 24D4A1DA09; Mon, 6 Jul 2020 11:51:07 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 1F6D51D9C0 for ; Mon, 6 Jul 2020 11:51:05 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id k23so38596196iom.10 for ; Mon, 06 Jul 2020 02:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g8IT/ojIyIvW5uQ5npCKzKKeuaH4O3v79q6B9dvoblI=; b=DWSbT7ADKYRSBddlaYewHe6+1g0o0NZ0xmVX+6bCc5SkcKWJtJAzCbHrlVsWs1k5ds lK3Rc65AgOQedhF+P6EPCNA+bFmQnU9xIfHuPqVLLccANPXEQBpp3CESU/g3urgQMY8T 14MsKs+1A+7g5myWFgy8Pkqoqcv49cLSFzwRGKsL578fu6Rqv4fBsoMLw/9M72A8P1zn /BxMKfGFro5ixU+jEEacNIUSnpcmlyjJenIZMxDup9+rZuiox8U4QGVirMJZiDJxaCT+ +8zFsPCP91hRHXikCHp6SoG5Wkum+O6kLPcrCEhuH8HxkZJCR2AHryDTua1BiexQTpVY upIw== 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=g8IT/ojIyIvW5uQ5npCKzKKeuaH4O3v79q6B9dvoblI=; b=HfP/lFQcIYj8ZZTloAZM2PQ3BWIoZOPQcKyHV+bU5Wi7uFpgDC2OmRjJvRE9o9nusW wU/VNo2vu+VkAofc8mdKucRMSy0jfIsouLYo9nkShLhLDabudsQA/WU193THkvk4R9u5 JOap6wa1RpeCSndZYLseCNYxRMsGF/ZH0uWtgFTTBpzJuj1Oyb2wCfpwM8CJ3HedCLf+ U2vwfmHNLPzgpRGh3gRAlETcLGtZ9xxIXSi+nJenvMhelsnJFP5XuyhFCfU9YDdvcEDv 5p2sC8d6C0XCX4/jLBmKQ5w38VS6Uv/UAX7maLweDc/k5EpqsQRD0XaQEh1WtROMi/bn xzsw== X-Gm-Message-State: AOAM530JO7uO83vOUxYs/RogBraK45gKt5cnHDslzC0SdiMPivwvRgPJ OdUurKpPoRUIEbLOaS+UZxZoxXmCFUxvK2K7eWD3Dg== X-Google-Smtp-Source: ABdhPJzY/R/4xT/of+gS7q/p3dMjyNlcLeGJQDUSuevVnaAvUgAE+c5tY8d8ryEd5NugZU1e3vkdnZwLmHRX/EknU3g= X-Received: by 2002:a02:3501:: with SMTP id k1mr51554025jaa.133.1594029064335; Mon, 06 Jul 2020 02:51:04 -0700 (PDT) MIME-Version: 1.0 References: <20200706080022.3887-1-david.marchand@redhat.com> In-Reply-To: <20200706080022.3887-1-david.marchand@redhat.com> From: Arnon Warshavsky Date: Mon, 6 Jul 2020 12:50:54 +0300 Message-ID: To: David Marchand Cc: dev , Thomas Monjalon , dpdk stable , Stephen Hemminger Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH 1/2] devtools: fix filename in forbidden token check 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" On Mon, Jul 6, 2020 at 11:00 AM David Marchand wrote: > Fix displayed filename by adjusting the extraction from the patch. > > Before: > Warning in /lib/librte_eal/linux/eal.c: > > After: > Warning in lib/librte_eal/linux/eal.c: > > Fixes: 7413e7f2aeb3 ("devtools: alert on new calls to exit from libs") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- > devtools/check-forbidden-tokens.awk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devtools/check-forbidden-tokens.awk > b/devtools/check-forbidden-tokens.awk > index 8c89de3d4e..f86cbe8dc1 100755 > --- a/devtools/check-forbidden-tokens.awk > +++ b/devtools/check-forbidden-tokens.awk > @@ -62,7 +62,7 @@ BEGIN { > } > END { > if (count > 0) { > - print "Warning in " substr(last_file,6) ":" > + print "Warning in " substr(last_file,7) ":" > print MESSAGE > exit RET_ON_FAIL > } > -- > 2.23.0 > > Acked-By: Arnon Warshavsky