[SCSI] lpfc 8.3.45: Fixed missing initialization for task management IOCBs
authorJames Smart <james.smart@emulex.com>
Thu, 20 Feb 2014 14:57:28 +0000 (09:57 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:18:57 +0000 (10:18 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_scsi.c

index 92f90df9f991bf6737a274de0622cb1b3f21f481..462453ee0bdaf1c184d19e3bc2985fa6100bb7bb 100644 (file)
@@ -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) {