[lkml]   [2022]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 21/30] mm: Use kstrtobool() instead of strtobool()
On Tue, Nov 01, 2022 at 10:14:09PM +0100, Christophe JAILLET wrote:
> strtobool() is the same as kstrtobool().
> However, the latter is more used within the kernel.
> In order to remove strtobool() and slightly simplify kstrtox.h, switch to
> the other function name.
> While at it, include the corresponding header file (<linux/kstrtox.h>)
> Signed-off-by: Christophe JAILLET <>
> ---
> This patch is part of a serie that axes all usages of strtobool().
> Each patch can be applied independently from the other ones.
> The last patch of the serie removes the definition of strtobool().
> You may not be in copy of the cover letter. So, if needed, it is available
> at [1].
> [1]:

This seems in keeping with the removal of the simple_*str*() helpers:

Reviewed-by: Kees Cook <>

Kees Cook

 \ /
  Last update: 2022-11-01 23:48    [W:0.410 / U:2.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site