[PATCH 084/117] qla1280: Convert to the scsi_status union

Bart Van Assche
2021-04-20T00:11:00Z

Cc: Michael Reed <mdr@sgi.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
drivers/scsi/qla1280.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 8f35174a1f9a..fbfb67e28038 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -488,7 +488,7 @@ __setup("qla1280=", qla1280_setup);
#define CMD_CDBP(Cmnd) Cmnd->cmnd
#define CMD_SNSP(Cmnd) Cmnd->sense_buffer
#define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE
-#define CMD_RESULT(Cmnd) Cmnd->result
+#define CMD_RESULT(Cmnd) Cmnd->status.combined
#define CMD_HANDLE(Cmnd) Cmnd->host_scribble
#define CMD_REQUEST(Cmnd) Cmnd->request->cmd