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 EC475A00C5 for ; Mon, 6 Jul 2020 10:00:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCAC31C1A1; Mon, 6 Jul 2020 10:00:44 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id B7AE71C1A1 for ; Mon, 6 Jul 2020 10:00:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594022443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GRiYXjvgOkpBONWyCxpvTt6Zh0DInZ8mPVM9BfiyVno=; b=GjncQM592eBjrW5fdiUtXSY1/ZRcYnY6pW8aU57JL/JYdjbBTVoci4Ni91oUZSv9yQu7Ko J/f7SP+nqli81eJ52DnrQj3IXeBoqm4wV859TQB/bBettt/puJsmTEpMmZoYDjHPLqvT7b TsRn9rdN15yzhlXegs7HFYNk2Biy/0Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-M3f69uqbM06RA08RNUdt3g-1; Mon, 06 Jul 2020 04:00:41 -0400 X-MC-Unique: M3f69uqbM06RA08RNUdt3g-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F0B51800D5C; Mon, 6 Jul 2020 08:00:39 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.195.188]) by smtp.corp.redhat.com (Postfix) with ESMTP id BCCA471669; Mon, 6 Jul 2020 08:00:37 +0000 (UTC) From: David Marchand To: dev@dpdk.org, thomas@monjalon.net Cc: stable@dpdk.org, Stephen Hemminger , Arnon Warshavsky Date: Mon, 6 Jul 2020 10:00:21 +0200 Message-Id: <20200706080022.3887-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH 1/2] devtools: fix filename in forbidden token check 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" 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