DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] devtools: fix regex of cnxk skip files
@ 2025-03-06 15:25 pbhagavatula
  2025-03-06 16:13 ` Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: pbhagavatula @ 2025-03-06 15:25 UTC (permalink / raw)
  To: jerinj, Thomas Monjalon; +Cc: dev, Pavan Nikhilesh

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-06 17:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-06 15:25 [PATCH] devtools: fix regex of cnxk skip files pbhagavatula
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

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).