Re: [PATCH] 2.5.59 : drivers/net/fc/iph5526.c

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Sun Feb 09 2003 - 19:34:02 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:24 EST