PATCH: fix incorrect bracketing in maestro

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 21 2003 - 15:09:18 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/sound/oss/maestro.c linux-2.5.65-ac2/sound/oss/maestro.c
--- linux-2.5.65/sound/oss/maestro.c 2003-03-06 17:04:39.000000000 +0000
+++ linux-2.5.65-ac2/sound/oss/maestro.c 2003-03-06 23:19:08.000000000 +0000
@@ -3367,7 +3367,7 @@
         /* check to see if we have a capabilities list in
                 the config register */
         pci_read_config_word(pcidev, PCI_STATUS, &w);
- if(! w & PCI_STATUS_CAP_LIST) return 0;
+ if(!(w & PCI_STATUS_CAP_LIST)) return 0;
 
         /* walk the list, starting at the head. */
         pci_read_config_byte(pcidev,PCI_CAPABILITY_LIST,&next);
-
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 : Sun Mar 23 2003 - 22:00:37 EST