2003-08-04 17:04:02

by Chip Salzenberg

[permalink] [raw]
Subject: [PATCH] 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
--- 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. - <[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