projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_hbadisc.c
b/drivers/scsi/lpfc/lpfc_hbadisc.c
index ce96d5bf8ae7d8a3c2b3b2fc538e38c7a8689d0d..759cbebed7c73a6ad48177ab0c422cb9217e9acf 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);
/*