summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2018-11-30 13:32:02 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-12-01 00:44:31 +0100
commitb0aa225b45e102a1eba2215e3a75b5683d8435f2 (patch)
treeccb627cc975cf97bf0f15ad038dd99b5cebbdf4f /devtools
parent0fc7178e73a75fcd84f5806d20e222bc49653b33 (diff)
downloaddpdk-next-eventdev-b0aa225b45e102a1eba2215e3a75b5683d8435f2.zip
dpdk-next-eventdev-b0aa225b45e102a1eba2215e3a75b5683d8435f2.tar.gz
dpdk-next-eventdev-b0aa225b45e102a1eba2215e3a75b5683d8435f2.tar.xz
devtools: fix symbol check when adding experimental section
The incriminated commit did relax the condition to catch all sections but dropped the + removal which can trigger false detection of the special EXPERIMENTAL section when adding symbols and the section in the same patch. Fixes: 7281cf520f89 ("devtools: relax rule for identifying symbol section") Cc: stable@dpdk.org 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.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh
index 4b8d9f3..020da7e 100755
--- a/devtools/check-symbol-change.sh
+++ b/devtools/check-symbol-change.sh
@@ -31,6 +31,7 @@ build_map_changes()
# Triggering this rule sets in_sec to 1, which actives the
# symbol rule below
/^.*{/ {
+ gsub("+", "");
if (in_map == 1) {
sec=$(NF-1); in_sec=1;
}