DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] devtools: fix version variable not initialized
@ 2024-04-17  9:32 Dengdui Huang
  2024-06-27 14:28 ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: Dengdui Huang @ 2024-04-17  9:32 UTC (permalink / raw)
  To: dev; +Cc: bruce.richardson, fengchengwen, haijie1, lihuisong, liuyonglong

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>
---
 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 bc3b8d766f..43f276c05f 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.33.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-28  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17  9:32 [PATCH] devtools: fix version variable not initialized Dengdui Huang
2024-06-27 14:28 ` David Marchand
2024-06-28  6:55   ` huangdengdui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).