]> 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)
commit0ed915fa631342ba7a89647f48e117bc9917c967
tree6d9af1821e4e79fd7e7f0ad89bc0597b9f823bc1
parent907a06a4c93f3ef771c0a17edc57f56a35de771c
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