aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_nx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_nx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 0a71cc71eab2..424cf189af27 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -2740,6 +2740,7 @@ sufficient_dsds:
2740 goto queuing_error_fcp_cmnd; 2740 goto queuing_error_fcp_cmnd;
2741 2741
2742 int_to_scsilun(sp->cmd->device->lun, &cmd_pkt->lun); 2742 int_to_scsilun(sp->cmd->device->lun, &cmd_pkt->lun);
2743 host_to_fcp_swap((uint8_t *)&cmd_pkt->lun, sizeof(cmd_pkt->lun));
2743 2744
2744 /* build FCP_CMND IU */ 2745 /* build FCP_CMND IU */
2745 memset(ctx->fcp_cmnd, 0, sizeof(struct fcp_cmnd)); 2746 memset(ctx->fcp_cmnd, 0, sizeof(struct fcp_cmnd));