diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-01-14 18:21:38 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:50:05 -0800 |
commit | f3296f80c8065b26a27eb8ab686d0c1d67880524 (patch) | |
tree | 0caf34ed92ee43597f627d3a0ef5393a3f7e4a02 /drivers/staging/octeon | |
parent | a42aaad2e47b23d63037bfc0130e33fc0f74cd71 (diff) | |
download | linux-stable-f3296f80c8065b26a27eb8ab686d0c1d67880524.tar.gz linux-stable-f3296f80c8065b26a27eb8ab686d0c1d67880524.tar.bz2 linux-stable-f3296f80c8065b26a27eb8ab686d0c1d67880524.zip |
initramfs: 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/2597e80cb7059ec6ad63a01b77d7c944dcc99195.1673716768.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Disseldorp <ddiss@suse.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Martin Wilck <mwilck@suse.com>
Cc: wuchi <wuchi.zero@gmail.com>
Cc: XU pengfei <xupengfei@nfschina.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/staging/octeon')
0 files changed, 0 insertions, 0 deletions