[patch] 2.3.39pre2: typo in atm/nicstar.c

From: Tim Waugh (tim@cyberelk.demon.co.uk)
Date: Sun Jan 09 2000 - 13:30:16 EST


Here's a fix for another

        if (cond);
                stuff

typo.

Tim.
*/

--- linux-2.3.39pre2/drivers/atm/nicstar.c~ Sun Jan 9 18:16:07 2000
+++ linux-2.3.39pre2/drivers/atm/nicstar.c Sun Jan 9 18:16:19 2000
@@ -502,7 +502,7 @@ static int ns_init_card(int i, struct pc
       PRINTK("nicstar%d: setting PCI latency timer to %d.\n", i, NS_PCI_LATENCY);
       for (j = 1; j < 4; j++)
       {
- if (pci_write_config_byte(pcidev, PCI_LATENCY_TIMER, NS_PCI_LATENCY) != 0);
+ if (pci_write_config_byte(pcidev, PCI_LATENCY_TIMER, NS_PCI_LATENCY) != 0)
             break;
       }
       if (j == 4)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:14 EST