* [PATCH 5/8] lpfc 8.3.45: Fixed missing initialization for task management IOCBs
@ 2014-02-20 14:57 James Smart
0 siblings, 0 replies; only message in thread
From: James Smart @ 2014-02-20 14:57 UTC (permalink / raw)
To: linux-scsi
Fixed missing initialization for task management IOCBs
Signed-off-by: James Smart <james.smart@emulex.com>
---
lpfc_scsi.c | 2 ++
1 file changed, 2 insertions(+)
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c 2014-02-19 15:29:32.386023811 -0500
+++ b/drivers/scsi/lpfc/lpfc_scsi.c 2014-02-19 15:29:36.097023895 -0500
@@ -4423,6 +4423,8 @@ lpfc_scsi_prep_task_mgmt_cmd(struct lpfc
}
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) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-20 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 14:57 [PATCH 5/8] lpfc 8.3.45: Fixed missing initialization for task management IOCBs James Smart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox