From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH 1/2] devtools: report the incorrect section when complaining Date: Wed, 28 Nov 2018 11:28:52 +0100 Message-ID: <1543400933-1723-1-git-send-email-david.marchand@redhat.com> Cc: thomas@monjalon.net, echaudro@redhat.com To: nhorman@tuxdriver.com, dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8EF681B127 for ; Wed, 28 Nov 2018 11:29:13 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" It does not hurt reporting the incriminated section. Before: ERROR: symbol rte_meter_trtcm_rfc4115_color_aware_check is added in a section other than the EXPERIMENTAL section of the version map After: ERROR: symbol rte_meter_trtcm_rfc4115_color_aware_check is added in +EXPERIMENTAL section other than the EXPERIMENTAL section of the version map Signed-off-by: David Marchand --- Used http://patchwork.dpdk.org/patch/48354/ to test. --- devtools/check-symbol-change.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh index 1d21e91..66741be 100755 --- a/devtools/check-symbol-change.sh +++ b/devtools/check-symbol-change.sh @@ -115,7 +115,7 @@ check_for_rule_violations() if [ $? -ne 0 ] then echo -n "ERROR: symbol $symname " - echo -n "is added in a section " + echo -n "is added in $secname section " echo -n "other than the EXPERIMENTAL " echo "section of the version map" ret=1 -- 1.8.3.1