summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-05-03 16:34:17 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-05-10 00:19:31 +0200
commitf089713132dcdc2e3dd235f56d23e682bd406ce5 (patch)
tree8599fdc50179eb1cf435c33140cf9323085afcc7
parent96d8ea839bded055fbbc01bfca44a7df3710e2ef (diff)
downloaddpdk-draft-windows-f089713132dcdc2e3dd235f56d23e682bd406ce5.zip
dpdk-draft-windows-f089713132dcdc2e3dd235f56d23e682bd406ce5.tar.gz
dpdk-draft-windows-f089713132dcdc2e3dd235f56d23e682bd406ce5.tar.xz
devtools: skip warning for reordered symbols
No need to shout when we are just reordering symbols in a section. Signed-off-by: David Marchand <david.marchand@redhat.com>
-rwxr-xr-xdevtools/check-symbol-change.sh6
1 files changed, 6 insertions, 0 deletions
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.