Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:30 EST


ChangeSet 1.1387, 2003/06/10 10:30:44-07:00, greg@kroah.com

[PATCH] PCI: remove pci_for_each_bus() usage from arch/ia64/hp/common/sba_iommu.c

 arch/ia64/hp/common/sba_iommu.c | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
--- a/arch/ia64/hp/common/sba_iommu.c Tue Jun 10 11:15:47 2003
+++ b/arch/ia64/hp/common/sba_iommu.c Tue Jun 10 11:15:47 2003
@@ -1939,8 +1939,8 @@
 
 #ifdef CONFIG_PCI
         {
- struct pci_bus *b;
- pci_for_each_bus(b)
+ struct pci_bus *b = NULL;
+ while ((b = pci_find_next_bus(b)) != NULL)
                         sba_connect_bus(b);
         }
 #endif

-
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 : Sun Jun 15 2003 - 22:00:24 EST