Re: [PATCH v3 1/2] lib/kstrtox.c: Add "false"/"true" support to kstrtobool()
From: Andy Shevchenko
Date: Wed Apr 27 2022 - 14:20:03 EST
On Wed, Apr 27, 2022 at 8:17 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Apr 27, 2022 at 8:06 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
...
> (It might be better to check the second character as well to be sure
> we avoid typos like 'talse' and 'frue', anyone to comment?)
Note that T and F on the keyboard are quite close to each other, so
there is non-zero probability of the above mentioned typo(s).
--
With Best Regards,
Andy Shevchenko