]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: core: Add passthrough tests for success and no failure definitions
authorMike Christie <michael.christie@oracle.com>
Mon, 13 Jan 2025 18:07:57 +0000 (12:07 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 21 Jan 2025 17:16:17 +0000 (12:16 -0500)
commitb893d7ff853e27aa6000fc4ca12e0ffda3318bfc
treef58df821f3abfbef0031310bc413bf114b69a87f
parent7d6f88e76e28ac44ed003dcf80881ea6b202ec08
scsi: core: Add passthrough tests for success and no failure definitions

This patch adds scsi_check_passthrough() tests for the cases where a
command completes successfully and when the command failed but the caller
did not pass in a list of failures.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20250113180757.16691-1-michael.christie@oracle.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib_test.c