public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] WARNING: add missing parentheses
@ 2011-01-01 15:15 roel kluin
  0 siblings, 0 replies; only message in thread
From: roel kluin @ 2011-01-01 15:15 UTC (permalink / raw)
  To: Andrew Morton, LKML, galak

`!' has a higher precedence than `&' so parentheses are required.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
 arch/powerpc/sysdev/fsl_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index 818f7c6..29b497a 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -715,7 +715,7 @@ u64 fsl_pci_immrbar_base(struct pci_controller *hose)
 		in = pcie->cfg_type0 + PEX_RC_INWIN_BASE;
 		for (i = 0; i < 4; i++) {
 			/* not enabled, skip */
-			if (!in_le32(&in[i].ar) & PEX_RCIWARn_EN)
+			if (!(in_le32(&in[i].ar) & PEX_RCIWARn_EN))
 				 continue;
 
 			if (get_immrbase() == in_le32(&in[i].tar))

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

only message in thread, other threads:[~2011-01-01 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-01 15:15 [PATCH] WARNING: add missing parentheses roel kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox