Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Feb 2003 20:38:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Feb 2003 20:37:11 -0500 Received: from dp.samba.org ([66.70.73.150]:59309 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Sun, 9 Feb 2003 20:36:57 -0500 From: Rusty Russell To: Frank Davis Cc: Vineet M Abraham , linux-kernel@vger.kernel.org, jgarzik@pobox.com Subject: Re: [PATCH] 2.5.59 : drivers/net/fc/iph5526.c In-reply-to: Your message of "Fri, 07 Feb 2003 12:23:22 CDT." Date: Mon, 10 Feb 2003 11:34:02 +1100 Message-Id: <20030210014642.859B12C2C9@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 26 In message 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/