diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-11-01 22:13:52 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-11-08 03:53:37 +0000 |
commit | e56ca6bcd2136207868516f5a304fbb82cc0cb82 (patch) | |
tree | 7b4b943cf79a73befa2970974e8414fde86f00e2 /drivers/scsi | |
parent | bc81131813aaf6fe764d1cc6b942a35a8c0c5c36 (diff) |
scsi: target: 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>
Link: https://lore.kernel.org/r/fcddc0a53b4fc6e3c2e93592d3f61c5c63121855.1667336095.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions