Skip to contentSkip to conversation

scripts: Correct the function name in comment

PATCH In review Bhaskar Chowdhury 2 participants 2 messages May 21, 2025 – May 22, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: Correct the function name in comment

Simple correction about the function name to match in the comment section.

---
 scripts/link-vmlinux.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/link-vmlinux.sh +1 -1
index 51367c2bfc21..6ff23a77bf96 100755
@@ -165,7 +165,7 @@ sysmap_and_kallsyms()
 }
 
 # Create map file with all symbols from ${1}
-# See mksymap for additional details
+# See mksysmap for additional details
 mksysmap()
 {
 	info NM ${2}

--
2.49.0

#1 lore raw
Quoted 13 lines · Bhaskar Chowdhury

Simple correction about the function name to match in the comment section.

---
 scripts/link-vmlinux.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/link-vmlinux.sh +0 -0
index 51367c2bfc21..6ff23a77bf96 100755

scripts/link-vmlinux.sh sysmap_and_kallsyms() · line 168

Quoted 5 lines
scripts/link-vmlinux.sh +1 -1
@@ -165,7 +165,7 @@ sysmap_and_kallsyms()
 }
 
 # Create map file with all symbols from ${1}
-# See mksymap for additional details
+# See mksysmap for additional details

I think this "mksysmap" refers to scripts/mksysmap instead of the function name.

However, I'd like to delete this useless comment.

Quoted 7 lines
scripts/link-vmlinux.sh +0 -1
 mksysmap()
 {
        info NM ${2}
--

2.49.0

Signature · 2 lines
Best Regards
Masahiro Yamada