commit | aa2dfdc4ed2594d5cf7bfe1cc914b53bf440a5e4 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <[email protected]> | Sat Jan 14 10:22:03 2023 +0100 |
committer | Greg Kroah-Hartman <[email protected]> | Wed Jun 21 16:00:51 2023 +0200 |
tree | e8fd15920bccd8b95184d5171691d1ed659127d6 | |
parent | 100cd6d0e563f393e10dee825c1a865f308fc324 [diff] |
test_firmware: Use kstrtobool() instead of strtobool() [ Upstream commit f7d85515bd21902b218370a1a6301f76e4e636ff ] 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 <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Link: https://lore.kernel.org/r/34f04735d20e0138695dd4070651bd860a36b81c.1673688120.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <[email protected]> Stable-dep-of: 4acfe3dfde68 ("test_firmware: prevent race conditions by a correct implementation of locking") Signed-off-by: Sasha Levin <[email protected]>