cb710: add missing parenthesis
authorPierre Ossman <pierre@ossman.eu>
Thu, 4 Jun 2009 05:58:57 +0000 (07:58 +0200)
committerPierre Ossman <pierre@ossman.eu>
Sat, 13 Jun 2009 20:42:58 +0000 (22:42 +0200)
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/misc/cb710/debug.c

index 9da11bc..02358d0 100644 (file)
@@ -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) {                      \