devtools: skip warning for reordered symbols
[dpdk.git] / devtools / check-symbol-change.sh
index 40eb953..8da7650 100755 (executable)
@@ -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.