[RFC 31/32] checkpatches: no longer warn about rte_smp_XX
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 29 19:54:24 CEST 2026
These macros/functions are now removed.
Any new use will be detected as compile errors.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
devtools/checkpatches.sh | 8 --------
1 file changed, 8 deletions(-)
diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index 18bd825372..3649645488 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -129,14 +129,6 @@ check_forbidden_additions() { # <patch>
-f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
"$1" || res=1
- # refrain from new additions of rte_smp_[r/w]mb()
- awk -v FOLDERS="lib drivers app examples" \
- -v EXPRESSIONS="rte_smp_(r|w)?mb\\\(" \
- -v RET_ON_FAIL=1 \
- -v MESSAGE='Using rte_smp_[r/w]mb' \
- -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
- "$1" || res=1
-
# refrain from using compiler __sync_xxx builtins
awk -v FOLDERS="lib drivers app examples" \
-v EXPRESSIONS="__sync_.*\\\(" \
--
2.53.0
More information about the dev
mailing list