diff options
| author | Kars Mulder <[email protected]> | 2020-08-12 01:34:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 17:58:00 +0000 |
| commit | b642e44e8ab335868b549fe5753b783ca47bf3a3 (patch) | |
| tree | 0a5498c5aca98c65fea718e644539ef21443a1d2 /lib/test_bits.c | |
| parent | lib/: replace HTTP links with HTTPS ones (diff) | |
| download | kernel-b642e44e8ab335868b549fe5753b783ca47bf3a3.tar.gz kernel-b642e44e8ab335868b549fe5753b783ca47bf3a3.zip | |
kstrto*: correct documentation references to simple_strto*()
The documentation of the kstrto*() functions reference the simple_strtoull
function by "used as a replacement for [the obsolete] simple_strtoull".
All these functions describes themselves as replacements for the function
simple_strtoull, even though a function like kstrtol() would be more aptly
described as a replacement of simple_strtol().
Fix these references by making the documentation of kstrto*() reference
the closest simple_strto*() equivalent available. The functions
kstrto[u]int() do not have direct simple_strto[u]int() equivalences, so
these are made to refer to simple_strto[u]l() instead.
Furthermore, add parentheses after function names, as is standard in
kernel documentation.
Fixes: 4c925d6031f71 ("kstrto*: add documentation")
Signed-off-by: Kars Mulder <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Eldad Zack <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Mans Rullgard <[email protected]>
Cc: Petr Mladek <[email protected]>
Link: http://lkml.kernel.org/r/1ee1-5f234c00-f3-165a6440@234394593
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions
