linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/7] lpfc 8.3.36: Correct mask error
@ 2012-10-31 18:45 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2012-10-31 18:45 UTC (permalink / raw)
  To: linux-scsi

Correct mask error

Reported via: https://bugzilla.kernel.org/show_bug.cgi?id=48891


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

 ---

 lpfc_ct.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
--- a/drivers/scsi/lpfc/lpfc_ct.c	2012-09-26 20:19:47.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_ct.c	2012-10-31 12:48:37.064123712 -0400
@@ -634,7 +634,7 @@ lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba
 		/* Check for retry */
 		if (vport->fc_ns_retry < LPFC_MAX_NS_RETRY) {
 			if (irsp->ulpStatus != IOSTAT_LOCAL_REJECT ||
-			    (irsp->un.ulpWord[4] && IOERR_PARAM_MASK) !=
+			    (irsp->un.ulpWord[4] & IOERR_PARAM_MASK) !=
 			    IOERR_NO_RESOURCES)
 				vport->fc_ns_retry++;
 




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

only message in thread, other threads:[~2012-10-31 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 18:45 [PATCH 6/7] lpfc 8.3.36: Correct mask error James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).