Commit e7aeacd3 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Todd Kjos
Browse files

UPSTREAM: mm/damon: use kstrtobool() instead of strtobool()

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

Link: https://lkml.kernel.org/r/ed2b46489a513988688decb53850339cc228940c.1667336095.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarSeongJae Park <sj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>

(cherry picked from commit e6aff38b)

Bug: 300502883
Bug: 317310896
Change-Id: I21df914f9ba754921bdc00d8e9a33e77b2606360
Signed-off-by: default avatarcui yangpei <cuiyangpei@xiaomi.com>
parent ad13ef6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment