aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2018-04-09 08:24:23 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-09 21:04:36 -0400
commitf7d5182c8fd9d220fa9ebde2e30ff0ba0ef714b5 (patch)
tree1dc80572ed877162b6dcd6476694480914d3b722
parente74e7d95878d7993cf56c801d55d78f16ea58d1d (diff)
scsi: qla2xxx: correctly shift host byte
The SCSI host byte has to be shifted by 16 not 6. As Bart pointed out this patch does not change any functionality because DID_OK == 0, but a wrong shift is irritating for the reviewer. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 7cacdc3408fa..a47a582b0397 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -2347,7 +2347,7 @@ done:
2347 bsg_job->reply_len = sizeof(struct fc_bsg_reply); 2347 bsg_job->reply_len = sizeof(struct fc_bsg_reply);
2348 /* Always return DID_OK, bsg will send the vendor specific response 2348 /* Always return DID_OK, bsg will send the vendor specific response
2349 * in this case only */ 2349 * in this case only */
2350 sp->done(sp, DID_OK << 6); 2350 sp->done(sp, DID_OK << 16);
2351 2351
2352} 2352}
2353 2353