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 A6978A00C5; Mon, 6 Jul 2020 10:00:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58C5E1D51A; Mon, 6 Jul 2020 10:00:49 +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 36A661D442 for ; Mon, 6 Jul 2020 10:00:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594022445; 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=RRdRpAntg1eNXxCPEorZV5XMtz9j8+UGpDmCgM8w4TdG4/TEU0t6GKDMGSKzL3jlM3zsHj kKNgjKMmw3Cxc5bFcp+gDFaOFstXS8HKrjDDbpnAqm51Pd+x58hxkH43UiJ8fvkjf3AkDC zwzkT4NC6zpP0iV6okIlMl41YKofbdM= 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-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" 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