]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: 53c700: Open-code status_byte(u8) calls
authorBart Van Assche <bvanassche@acm.org>
Thu, 15 Apr 2021 22:08:20 +0000 (15:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Apr 2021 02:44:41 +0000 (22:44 -0400)
commit7e20e9bcdda7efd02e19011a90e5da9c30b18508
tree2fecf03ea732effaee37d8d9f0960ee63b7c33d5
parent8d3d14d106d32674c20d23a08594854d06257ef5
scsi: 53c700: Open-code status_byte(u8) calls

The 53c700 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-15-bvanassche@acm.org
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/53c700.c