]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2022 21:14:16 +0000 (22:14 +0100)
committerJuergen Gross <jgross@suse.com>
Mon, 14 Nov 2022 12:29:01 +0000 (13:29 +0100)
commitd972b6066141b57f9081159331c458d9e5277e9d
tree6d9af1821e4e79fd7e7f0ad89bc0597b9f823bc1
parentdb4c627a3d526d552926cf60a9e7a709c2f7c082
x86/xen: 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>)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/e91af3c8708af38b1c57e0a2d7eb9765dda0e963.1667336095.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pv.c
arch/x86/xen/setup.c