]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e8bec703f6b71ca3202ce33b060b28da39e5b94
tree68c5d509e162a8578a26848160fba84757761256
parent91b689ca8b114138107a7fab5f4c43abeaf72c2f
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