diff options
| author | Kars Mulder <[email protected]> | 2020-08-12 01:34:56 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 17:58:00 +0000 |
| commit | ef0f2685336bbc334e8b6997ce9b155e5f7edd31 (patch) | |
| tree | 41d6c93c3d1dc2a543561013e90c9452a9f2b397 /lib/test_bits.c | |
| parent | kstrto*: correct documentation references to simple_strto*() (diff) | |
| download | kernel-ef0f2685336bbc334e8b6997ce9b155e5f7edd31.tar.gz kernel-ef0f2685336bbc334e8b6997ce9b155e5f7edd31.zip | |
kstrto*: do not describe simple_strto*() as obsolete/replaced
The documentation of the kstrto*() functions describes kstrto*() as
"replacements" of the "obsolete" simple_strto*() functions. Both of these
terms are inaccurate: they're not replacements because they have different
behaviour, and the simple_strto*() are not obsolete because there are
cases where they have benefits over kstrto*().
Remove usage of the terms "replacement" and "obsolete" in reference to
simple_strto*(), and instead use the term "preferred over".
Fixes: 4c925d6031f71 ("kstrto*: add documentation")
Fixes: 885e68e8b7b13 ("kernel.h: update comment about simple_strto<foo>() functions")
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/29b9-5f234c80-13-4e3aa200@244003027
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions
