Skip to contentSkip to conversation

lib: kstrtox: missing parameter description doc fixup

PATCH In review Rodrigo Alencar 2 participants 2 messages Jun 26 – Jun 29

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: kstrtox: missing parameter description doc fixup

Add description string for 'init' parameter.

---
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(+)
lib/kstrtox.c +1 -0
index 17357c4ae52c..bac1c057e1b0 100644
@@ -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,

Signature · 1 line
Rodrigo Alencar <[email protected]>
maintainer
#1 lore raw
Quoted 11 lines · On Fri, 26 Jun 2026 10:34:51 +0100 Rodrigo Alencar via B4 Relay…

From: Rodrigo Alencar <[email protected]>

Add description string for 'init' parameter.

---
Recent change causing a build warning. This is to be a fixup patch amended to:

Thanks! Applied as a fixup.

Jonathan

Quoted 23 lines

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(+)
lib/kstrtox.c +1 -1
index 17357c4ae52c..bac1c057e1b0 100644
@@ -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,