[PATCH] 2.4.22pre10: Missing parens in drivesr/pcmcia/ti113x.h

From: Chip Salzenberg (chip@pobox.com)
Date: Mon Aug 04 2003 - 12:03:59 EST


This patch seems like a precedence fix. I don't have the appropriate
hardware to test a behavior change, so I can't be sure.

Index: linux/drivers/pcmcia/ti113x.h
--- linux/drivers/pcmcia/ti113x.h.old 2003-08-04 12:45:32.000000000 -0400
+++ linux/drivers/pcmcia/ti113x.h 2003-08-04 12:53:08.000000000 -0400
@@ -180,5 +180,5 @@
 
                 devctl = config_readb(socket, TI113X_DEVICE_CONTROL);
- if (devctl & TI113X_DCR_IMODE_MASK != TI12XX_DCR_IMODE_ALL_SERIAL) {
+ if ((devctl & TI113X_DCR_IMODE_MASK) != TI12XX_DCR_IMODE_ALL_SERIAL) {
                         printk (KERN_INFO "ti113x: Routing card interrupts to PCI\n");
 

-- 
Chip Salzenberg               - a.k.a. -               <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:24 EST