[dpdk-dev] [PATCH 1/4] devtools: do not complain when reordering symbols

David Marchand david.marchand at redhat.com
Fri May 3 16:34:17 CEST 2019


No need to shout when we are just reordering symbols in a section.

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 devtools/check-symbol-change.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
index 40eb953..8da7650 100755
--- a/devtools/check-symbol-change.sh
+++ b/devtools/check-symbol-change.sh
@@ -121,6 +121,12 @@ check_for_rule_violations()
 				continue
 			fi
 
+			# This symbol is moving inside a section, nothing to do
+			if [ "$oldsecname" = "$secname" ]
+			then
+				continue
+			fi
+
 			# This symbol is moving between two sections (the
 			# original section is not experimental).
 			# This can be legit, just warn.
-- 
1.8.3.1



More information about the dev mailing list