Re: [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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.



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux