scsi: core: Change the type of the second argument of scsi_host_complete_all_commands()
authorBart Van Assche <bvanassche@acm.org>
Mon, 24 May 2021 02:54:57 +0000 (19:54 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Jun 2021 03:09:39 +0000 (23:09 -0400)
commit62af0ee94bfb9e626ed73b5890fc68c6e1651843
tree68c5d509e162a8578a26848160fba84757761256
parent149d0e489e807f1e6dc265f975a793cea11ecbea
scsi: core: Change the type of the second argument of scsi_host_complete_all_commands()

Allow the compiler to verify the type of the second argument passed to
scsi_host_complete_all_commands().

Link: https://lore.kernel.org/r/20210524025457.11299-4-bvanassche@acm.org
Cc: Hannes Reinecke <hare@suse.com>
Cc: John Garry <john.garry@huawei.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hosts.c
include/scsi/scsi_host.h