linux-mainline/init
Christophe JAILLET f3296f80c8 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>
2023-02-02 22:50:05 -08:00
..
.gitignore
build-version
calibrate.c
do_mounts_initrd.c
do_mounts_rd.c
do_mounts.c
do_mounts.h
init_task.c
initramfs.c initramfs: use kstrtobool() instead of strtobool() 2023-02-02 22:50:05 -08:00
Kconfig gcc: disable -Warray-bounds for gcc-11 too 2023-01-09 17:04:49 -06:00
main.c New Feature: 2022-12-17 14:06:53 -06:00
Makefile kbuild: Fix CFI hash randomization with KASAN 2023-01-13 15:22:03 -08:00
noinitramfs.c
version-timestamp.c
version.c init/version.c: remove #include <generated/utsrelease.h> 2022-12-10 10:33:20 +09:00