From: <pbhagavatula@marvell.com>
To: <jerinj@marvell.com>, Thomas Monjalon <thomas@monjalon.net>
Cc: <dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>
Subject: [PATCH] devtools: fix regex of cnxk skip files
Date: Thu, 6 Mar 2025 20:55:16 +0530 [thread overview]
Message-ID: <20250306152516.2594-1-pbhagavatula@marvell.com> (raw)
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
SKIP_FILES should include the path of the file.
Update the regex to match the path.
Fixes: dd88f51a5725 ("devtools: forbid DPDK API in cnxk base driver")
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
devtools/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 003bb49e04..63638bc7fa 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -236,7 +236,7 @@ check_forbidden_additions() { # <patch>
# forbid rte_ symbols in cnxk base driver
awk -v FOLDERS='drivers/common/cnxk/roc_*' \
- -v SKIP_FILES='roc_platform*' \
+ -v SKIP_FILES='.*roc_platform*' \
-v EXPRESSIONS="rte_ RTE_" \
-v RET_ON_FAIL=1 \
-v MESSAGE='Use plt_ symbols instead of rte_ API in cnxk base driver' \
--
2.43.0
next reply other threads:[~2025-03-06 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 15:25 pbhagavatula [this message]
2025-03-06 16:13 ` Thomas Monjalon
2025-03-06 16:22 ` [EXTERNAL] " Pavan Nikhilesh Bhagavatula
2025-03-06 16:15 ` Thomas Monjalon
2025-03-06 16:23 ` [EXTERNAL] " Pavan Nikhilesh Bhagavatula
2025-03-06 17:12 ` [PATCH v2] devtools: fix regex of " pbhagavatula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250306152516.2594-1-pbhagavatula@marvell.com \
--to=pbhagavatula@marvell.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).