[dpdk-dev] [PATCH v7 5/6] devtools: exempt internal ABI checking
Haiyue Wang
haiyue.wang at intel.com
Sat Apr 25 12:56:19 CEST 2020
No need to restrict the ABI on symbols that are only used by core
libraries.
Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
---
devtools/check-symbol-change.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
index ed2178e36..7b6d5f40f 100755
--- a/devtools/check-symbol-change.sh
+++ b/devtools/check-symbol-change.sh
@@ -91,6 +91,13 @@ check_for_rule_violations()
if [ "$ar" = "add" ]
then
+ if [ "$secname" = "INTERNAL" ]
+ then
+ # these are absolved from any further checking
+ echo "Skipping symbol $symname in INTERNAL"
+ continue
+ fi
+
if [ "$secname" = "unknown" ]
then
# Just inform the user of this occurrence, but
@@ -148,6 +155,7 @@ check_for_rule_violations()
else
if ! grep -q "$mname $symname .* add" "$mapdb" && \
+ [ "$secname" != "INTERNAL" ] && \
[ "$secname" != "EXPERIMENTAL" ]
then
# Just inform users that non-experimenal
--
2.26.2
More information about the dev
mailing list