summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2018-11-30 13:32:01 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-11-30 17:03:19 +0000
commit0fc7178e73a75fcd84f5806d20e222bc49653b33 (patch)
treee61eff12f2615f3b1660fc3ae168b478676cd0e4 /devtools
parent7b2d0b3e779d3156d81043fe80d628b3285fee8e (diff)
downloaddpdk-next-eventdev-0fc7178e73a75fcd84f5806d20e222bc49653b33.zip
dpdk-next-eventdev-0fc7178e73a75fcd84f5806d20e222bc49653b33.tar.gz
dpdk-next-eventdev-0fc7178e73a75fcd84f5806d20e222bc49653b33.tar.xz
devtools: report the incorrect section when complaining
It does not hurt reporting the incriminated section. Before: ERROR: symbol rte_plop is added in a section other than the EXPERIMENTAL section of the version map After: ERROR: symbol rte_plop is added in the DPDK_19.02 section, but is expected to be added in the EXPERIMENTAL section of the version map Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/check-symbol-change.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
index 1d21e91..4b8d9f3 100755
--- a/devtools/check-symbol-change.sh
+++ b/devtools/check-symbol-change.sh
@@ -115,8 +115,9 @@ check_for_rule_violations()
if [ $? -ne 0 ]
then
echo -n "ERROR: symbol $symname "
- echo -n "is added in a section "
- echo -n "other than the EXPERIMENTAL "
+ echo -n "is added in the $secname "
+ echo -n "section, but is expected to "
+ echo -n "be added in the EXPERIMENTAL "
echo "section of the version map"
ret=1
fi