lkml.org 
[lkml]   [2000]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.3.39pre2: iph5526 minor nit
I've seen things like 'x < y > z' and 'x > y != 0' in various places in
the kernel. Here's a patch to get rid of one of them.

Tim.
*/

--- linux-2.3.39pre2/drivers/net/fc/iph5526.c~ Sun Jan 9 17:48:02 2000
+++ linux-2.3.39pre2/drivers/net/fc/iph5526.c Sun Jan 9 17:48:15 2000
@@ -3770,7 +3770,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; i++)
while ((pdev = pci_find_device(clone_list[i].vendor_id, clone_list[i].device_id, pdev))) {
unsigned short pci_command;
if (count < MAX_FC_CARDS) {

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

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