projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5155ce5
)
lpfc: Use && instead of & for boolean expression
author
Sebastian Herbszt
<herbszt@gmx.de>
Wed, 22 Jul 2015 08:53:22 +0000
(10:53 +0200)
committer
James Bottomley
<JBottomley@Odin.com>
Wed, 26 Aug 2015 23:35:07 +0000
(16:35 -0700)
Use logical instead of bitwise AND.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Reviewed-by: James Smart <james.smart@avagotech.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_hbadisc.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_hbadisc.c
b/drivers/scsi/lpfc/lpfc_hbadisc.c
index
ce96d5b
..
759cbeb
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/
drivers/scsi/lpfc/lpfc_hbadisc.c
@@
-701,7
+701,7
@@
lpfc_work_done(struct lpfc_hba *phba)
HA_RXMASK));
}
}
- if ((phba->sli_rev == LPFC_SLI_REV4) &
+ if ((phba->sli_rev == LPFC_SLI_REV4) &
&
(!list_empty(&pring->txq)))
lpfc_drain_txq(phba);
/*