Re: [PATCH 1/1] lib/kstrtox: fix kstrtobool() docstring to mention enabled/disabled
From: Kuan-Wei Chiu
Date: Thu Jan 01 2026 - 13:11:29 EST
Hi Chaitanya,
On Sat, Dec 27, 2025 at 02:52:29PM +0530, Chaitanya Mishra wrote:
> From: Chaitanya <chaitanyamishra.ai@xxxxxxxxx>
>
> 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.
>
> Fixes: ae5b3500856f ("kstrtox: add support for enabled and disabled in kstrtobool()")
> Signed-off-by: Chaitanya Mishra <chaitanyamishra.ai@xxxxxxxxx>
scripts/checkpatch.pl warns about this:
WARNING: From:/Signed-off-by: email name mismatch: 'From: Chaitanya <chaitanyamishra.ai@xxxxxxxxx>' != 'Signed-off-by: Chaitanya Mishra <chaitanyamishra.ai@xxxxxxxxx>'
total: 0 errors, 1 warnings, 10 lines checked
Please ensure you run checkpatch.pl before submitting any patch.
With that fixed, feel free to add:
Reviewed-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
Regards,
Kuan-Wei