dpdk/0086-devtools-fix-symbol-listing.patch
Dengdui Huang 37c95ab89b sync some bugfixes from upstreaming
- net/hns3: fix unrelease some resources on reset case
 - net/hns3: fix divide by zero
 - net/hns3: fix incorrect failed rollback
 - net/hns3: fix memory leakage for indirect action
 - net/hns3: fix extra waiting for link up
 - net/hns3: fix variable overflow
 - net/hns3: fix memory leakage in failure path
 - devtools: fix symbol listing
 - net/hns3: remove weak symbols
 - net/hns3: fix reset timeout
 - net/hns3: fix copper port inialization
 - net/hns3: rename RAS module
 - net/hns3: remove PVID info dump for VF
 - net/hns3: fix mbuf freeing in simple Tx path

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 4f2a5e819346fb5bf12b9de68352782319e4a2a6)
2025-04-28 15:33:14 +08:00

36 lines
1017 B
Diff

From bd262f591ade398e9d5a1ee3167c5912ad135742 Mon Sep 17 00:00:00 2001
From: Dengdui Huang <huangdengdui@huawei.com>
Date: Wed, 17 Apr 2024 17:32:36 +0800
Subject: [PATCH] devtools: fix symbol listing
[ upstream commit 33af003eb13fe0c661f638797bacc50b0cc6f412 ]
The version variable is not initialized. Therefore, if the -V option
is not specified, the value of $version is obtained from the context,
which may cause the version map parsing failure.
Fixes: 6edec7f202ac ("devtools: list symbols by version")
Cc: stable@dpdk.org
Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
---
buildtools/map-list-symbol.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/buildtools/map-list-symbol.sh b/buildtools/map-list-symbol.sh
index a834399..878c588 100755
--- a/buildtools/map-list-symbol.sh
+++ b/buildtools/map-list-symbol.sh
@@ -5,6 +5,7 @@
section=all
symbol=all
quiet=
+version=
while getopts 'S:s:qV:' name; do
case $name in
--
2.25.1