x86/boot: repair kernel-doc for boot_kstrtoul()
Subsystems (2)
PATCH 1/1 x86/boot: repair kernel-doc for boot_kstrtoul()
Commit 5fafbebc86a0 ("x86/boot: Add kstrtoul() from lib/") temporarily adds a copy of kstrtoul() to arch/x86/boot/string.c. While massaging the provided patch, Borislav renames the kstrtoul() to boot_kstrtoul(), but misses to adjust the corresponding kernel-doc comment.
Adjust the kernel-doc comment for boot_kstrtoul() for make W=1 happiness.
---
Boris, please pick this quick kernel-doc cleanup patch. Thanks.
arch/x86/boot/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/boot/string.c +1 -1
@@ -350,7 +350,7 @@ static int _kstrtoul(const char *s, unsigned int base, unsigned long *res) }/** -* kstrtoul - convert a string to an unsigned long +* boot_kstrtoul - convert a string to an unsigned long * @s: The start of the string. The string must be null-terminated, and may also * include a single newline before its terminating null. The first character * may also be a plus sign, but not a minus sign.
Signature · 1 line
2.17.1
[tip: x86/cleanups] x86/boot: Repair kernel-doc for boot_kstrtoul()
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: d632bf6ff1f6f733e1de9c5331fd643f4ecbe483 Gitweb: https://git.kernel.org/tip/d632bf6ff1f6f733e1de9c5331fd643f4ecbe483 Author: Lukas Bulwahn <[email protected]> AuthorDate: Mon, 31 Oct 2022 10:48:35 +01:00 Committer: Borislav Petkov <[email protected]> CommitterDate: Wed, 02 Nov 2022 10:20:02 +01:00
x86/boot: Repair kernel-doc for boot_kstrtoul()
Adjust the kernel-doc comment to have the proper function name:boot_kstrtoul().
[ bp: Massage commit message. ]
--- arch/x86/boot/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/boot/string.c +1 -1
@@ -350,7 +350,7 @@ static int _kstrtoul(const char *s, unsigned int base, unsigned long *res) }/** -* kstrtoul - convert a string to an unsigned long +* boot_kstrtoul - convert a string to an unsigned long * @s: The start of the string. The string must be null-terminated, and may also * include a single newline before its terminating null. The first character * may also be a plus sign, but not a minus sign.