diff options
author | James Smart <james.smart@emulex.com> | 2014-02-20 09:57:28 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 10:18:57 -0700 |
commit | f9226c20b736916552d623ef632b7152f61dfcc7 (patch) | |
tree | 7912600199d3dfe4c7bd744a10efca843bbf8fbb /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 76fd07a632483c85ea24f383f02b92fabf468434 (diff) | |
download | linux-f9226c20b736916552d623ef632b7152f61dfcc7.tar.gz linux-f9226c20b736916552d623ef632b7152f61dfcc7.tar.bz2 linux-f9226c20b736916552d623ef632b7152f61dfcc7.zip |
[SCSI] lpfc 8.3.45: Fixed missing initialization for task management IOCBs
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 92f90df9f991..462453ee0bda 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c @@ -4423,6 +4423,8 @@ lpfc_scsi_prep_task_mgmt_cmd(struct lpfc_vport *vport, } piocb->ulpFCP2Rcvy = (ndlp->nlp_fcp_info & NLP_FCP_2_DEVICE) ? 1 : 0; piocb->ulpClass = (ndlp->nlp_fcp_info & 0x0f); + piocb->ulpPU = 0; + piocb->un.fcpi.fcpi_parm = 0; /* ulpTimeout is only one byte */ if (lpfc_cmd->timeout > 0xff) { |