On Thu, 2026-11-26 at 13:14 +0200, Mike Rapoport (Microsoft) wrote:
> The decompressor has a copy of kstrtobool() that takes only y/n, 1/0
> and
> on/off. The kernel's kstrtobool() also takes true/false since
> 0d6ea3ac94ca
> ("lib/kstrtox.c: add "false"/"true" support to kstrtobool()") and
> enabled/disabled since ae5b3500856f ("kstrtox: add support for
> enabled and
> disabled in kstrtobool()").
>
> The decompressor ignores these values, so "cmma=false" leaves CMMA
> enabled
> and "prot_virt=true" does not enable it.
>
> Copy kstrtobool() from lib/kstrtox.c.
Wait, why does this need a copy?
Is there some reason it cannot use the one
in lib/kstrtox.c?
If so, that reason should probably be documented.
--
All Rights Reversed.