Re: [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing
From: Muchun Song
Date: Tue Sep 13 2022 - 06:35:10 EST
> On Sep 9, 2022, at 16:46, Liu Shixin <liushixin2@xxxxxxxxxx> wrote:
>
> Use kstrtobool which is more powerful to handle all kinds of parameters
> like 'Yy1Nn0' or [oO][NnFf] for "on" and "off".
>
> Signed-off-by: Liu Shixin <liushixin2@xxxxxxxxxx>
With Andrew and Michal’s suggestion.
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks.