[PATCH] lib: kstrtox: missing parameter description doc fixup

From: Rodrigo Alencar via B4 Relay

Date: Fri Jun 26 2026 - 05:35:38 EST


From: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>

Add description string for 'init' parameter.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202606250230.etPGuolf-lkp@xxxxxxxxx/
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
---
Recent change causing a build warning. This is to be a fixup
patch amended to:

https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=testing&id=521b4ae3b5a47cf4ef5826016eecde08e8740bef
---
lib/kstrtox.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/kstrtox.c b/lib/kstrtox.c
index 17357c4ae52c..bac1c057e1b0 100644
--- a/lib/kstrtox.c
+++ b/lib/kstrtox.c
@@ -46,6 +46,7 @@ const char *_parse_integer_fixup_radix(const char *s, unsigned int *base)
* @base: Radix
* @p: Where to store result
* @max_chars: Maximum amount of characters to convert
+ * @init: Initial value of the multiply-accumulate result
*
* Convert non-negative integer string representation in explicitly given
* radix to an integer. If overflow occurs, value at @p is set to ULLONG_MAX.

---
base-commit: 7667a80340e99fd45357d0c90ae05813b01bbfef
change-id: 20260626-b4-parse-integer-doc-fixup-6b2a5cd77a1b

Best regards,
--
Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>