All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 2/5] lpfc 10.2.8001.0: Fix for initializing RRQ bitmap
@ 2014-05-21 12:05 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2014-05-21 12:05 UTC (permalink / raw)
  To: linux-scsi

Fix for initializing RRQ bitmap


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_hbadisc.c |    3 +++
 1 file changed, 3 insertions(+)


diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c	2014-05-12 09:45:34.361083584 -0400
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c	2014-05-12 09:49:33.334095621 -0400
@@ -5634,6 +5634,9 @@ lpfc_nlp_init(struct lpfc_vport *vport,
 		ndlp->active_rrqs_xri_bitmap =
 				mempool_alloc(vport->phba->active_rrq_pool,
 					      GFP_KERNEL);
+		if (ndlp->active_rrqs_xri_bitmap)
+			memset(ndlp->active_rrqs_xri_bitmap, 0,
+			       ndlp->phba->cfg_rrq_xri_bitmap_sz);
 	}
 
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-21 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-21 12:05 [PATCH V2 2/5] lpfc 10.2.8001.0: Fix for initializing RRQ bitmap James Smart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.