Skip to contentSkip to conversation

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

PATCH New Chip Salzenberg 1 participant 1 message Aug 4, 2003 Pcmcia

lore
Share & tools
lore
#0 lore raw

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

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

drivers/pcmcia/ti113x.h renamed from drivers/pcmcia/ti113x.h.old +1 -1
@@ -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");
 
Signature · 3 lines
Chip Salzenberg               - a.k.a. -               <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K