]> Pileus Git - ~andy/linux/commitdiff
[SCSI] lpfc 8.3.36: Correct mask error
authorJames Smart <james.smart@emulex.com>
Wed, 31 Oct 2012 18:45:21 +0000 (14:45 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:45 +0000 (08:59 +0400)
Reported via: https://bugzilla.kernel.org/show_bug.cgi?id=48891

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_ct.c

index 7ffabb7e3afa536cb42f6aef511e80979ddb17c6..65f9fb6862e6b36ddde7cbf80074eefcb2593e31 100644 (file)
@@ -634,7 +634,7 @@ lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
                /* 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++;