[dpdk-dev] [PATCH v2 03/10] Exempt INTERNAL symbols from checking

Neil Horman nhorman at tuxdriver.com
Thu Jun 13 16:23:37 CEST 2019


No need to restrict the ABI on symbols that are only used by core
libraries

Signed-off-by: Neil Horman <nhorman at tuxdriver.com>
CC: Jerin Jacob Kollanukkaran <jerinj at marvell.com>
CC: Bruce Richardson <bruce.richardson at intel.com>
CC: Thomas Monjalon <thomas at monjalon.net>
---
 devtools/check-symbol-change.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
index c5434f3bb..83e8b43ae 100755
--- a/devtools/check-symbol-change.sh
+++ b/devtools/check-symbol-change.sh
@@ -93,6 +93,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
-- 
2.20.1



More information about the dev mailing list