lpfc: fix an '&&' vs '&' typo
Subsystems (3)
PATCH 1/1 lpfc: fix an '&&' vs '&' typo
The intent here was clearly to do a bitwise AND similar to the others in this file. The current condition is never true.
Signed-off-by Dan Carpenter <[email protected]>
---
Only needed in linux-next.
drivers/scsi/lpfc/lpfc_ct.c +0 -1
@@ -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++;