scsi: dc395x: Open-code status_byte(u8) calls
authorBart Van Assche <bvanassche@acm.org>
Thu, 15 Apr 2021 22:08:21 +0000 (15:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Apr 2021 02:44:41 +0000 (22:44 -0400)
commit22dc227e8f0e913d86552f5714fccb0e622ec650
treea1ee3f61275d22d0642844de083692d23928153a
parent3940ebf7ba52a82db2aae16a3aa00835d7a98109
scsi: dc395x: Open-code status_byte(u8) calls

The dc395x driver is one of the two drivers that passes an u8 argument to
status_byte() instead of an s32 argument. Open-code status_byte() in
preparation of changing SCSI status values into a structure.

Link: https://lore.kernel.org/r/20210415220826.29438-16-bvanassche@acm.org
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/dc395x.c