Commit f7d5182c authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by Martin K. Petersen
Browse files

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: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent e74e7d95
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2347,7 +2347,7 @@ done:
	bsg_job->reply_len = sizeof(struct fc_bsg_reply);
	bsg_job->reply_len = sizeof(struct fc_bsg_reply);
	/* Always return DID_OK, bsg will send the vendor specific response
	/* Always return DID_OK, bsg will send the vendor specific response
	 * in this case only */
	 * in this case only */
	sp->done(sp, DID_OK << 6);
	sp->done(sp, DID_OK << 16);


}
}