]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/kstrtox: fix kstrtobool() docstring to mention enabled/disabled
authorChaitanya Mishra <chaitanyamishra.ai@gmail.com>
Sat, 27 Dec 2025 09:22:29 +0000 (14:52 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Jan 2026 03:07:10 +0000 (19:07 -0800)
commit1921044eebf1d6861a6de1a76e3f63729a45e712
treec1c32893de145da2f6a5df9cd86d0d2cd6939740
parentad533a740c7ccb801619ed962807605254fe7545
lib/kstrtox: fix kstrtobool() docstring to mention enabled/disabled

Commit ae5b3500856f ("kstrtox: add support for enabled and disabled in
kstrtobool()") added support for 'e'/'E' (enabled) and 'd'/'D' (disabled)
inputs, but did not update the docstring accordingly.

Update the docstring to include 'Ee' (for true) and 'Dd' (for false) in
the list of accepted first characters.

Link: https://lkml.kernel.org/r/20251227092229.57330-1-chaitanyamishra.ai@gmail.com
Fixes: ae5b3500856f ("kstrtox: add support for enabled and disabled in kstrtobool()")
Signed-off-by: Chaitanya Mishra <chaitanyamishra.ai@gmail.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/kstrtox.c