lkml.org 
[lkml]   [2003]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.59 : drivers/net/fc/iph5526.c
Hello all,
The following patch addresses buzilla bug # 323, and removes a double
logical issue. Please review for inclusion.

Regards,
Frank

--- 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))
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.075 / U:1.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site