summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cb710/debug.c
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-06-04 07:58:57 +0200
committerPierre Ossman <pierre@ossman.eu>2009-06-13 22:42:58 +0200
commit10eb4f901cacf7da87145330f3ca77b723783497 (patch)
tree9dafc44aca092cbd09501125320398db5bb0b269 /drivers/misc/cb710/debug.c
parentcb710: fix printk format string (diff)
downloadlinux-10eb4f901cacf7da87145330f3ca77b723783497.tar.xz
linux-10eb4f901cacf7da87145330f3ca77b723783497.zip
cb710: add missing parenthesis
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/misc/cb710/debug.c')
-rw-r--r--drivers/misc/cb710/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cb710/debug.c b/drivers/misc/cb710/debug.c
index 9da11bc620af..02358d086e03 100644
--- a/drivers/misc/cb710/debug.c
+++ b/drivers/misc/cb710/debug.c
@@ -37,7 +37,7 @@ static void cb710_read_regs_##t(void __iomem *iobase, \
unsigned i, j; \
\
for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \
- if (!select & (1 << i)) \
+ if (!(select & (1 << i))) \
continue; \
\
for (j = 0; j < 0x10/(t/8); ++j) { \