Messages in this thread Patch in this message | | | From | Rusty Russell <> | Subject | Re: [PATCH] 2.5.59 : drivers/net/fc/iph5526.c | Date | Mon, 10 Feb 2003 11:34:02 +1100 |
| |
In message <Pine.LNX.4.44.0302071221490.6917-100000@master> you write: > --- linux/drivers/net/fc/iph5526.c.old 2003-01-16 21:21:45.000000000 - 0500 > +++ linux/drivers/net/fc/iph5526.c 2003-02-07 02:13:43.000000000 -0500 > @@ -3769,7 +3769,7 @@ > for (i = 0; i <= MAX_FC_CARDS; i++) > fc[i] = NULL; > > - for (i = 0; i < clone_list[i].vendor_id != 0; i++) > + for (i = 0; ((i < clone_list[i].vendor_id) && (clone_list[i].vendor_id != 0)); i++) > while ((pdev = pci_find_device(clone_list[i].vendor_id, clone_list[i].device_id, pdev))) { > unsigned short pci_command; > if (pci_enable_device(pdev)) >
Once again, up to the author. Vineet?
Thanks, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/
| |