compile fix for IBM PCI hotplug driver (linux 2.4.21rc1-ac4)

From: Geller Sandor (wildy@petra.hos.u-szeged.hu)
Date: Sun May 04 2003 - 09:01:38 EST


A small fix for the IBM PCI hotplug driver.

--- ibmphp_ebda.c.orig Sun May 4 15:35:42 2003
+++ ibmphp_ebda.c Sun May 4 15:54:04 2003
@@ -754,7 +754,7 @@
         struct ebda_hpc_slot *slot_ptr;
         struct bus_info *bus_info_ptr1, *bus_info_ptr2;
         int rc;
- struct slot *tmp_slot;
+ struct slot *slot_cur, *tmp_slot;
         struct list_head *list;
         char buf[32];

@@ -992,7 +992,7 @@
                 slot_cur = list_entry (list, struct slot, ibm_slot_list);
                 if(create_file_name (slot_cur, buf)==0)
                 {
- snprintf (slot_cur->hotplug_slot->name, 30, "%s", );
+ snprintf (slot_cur->hotplug_slot->name, 30, "%s" );
                         pci_hp_register (slot_cur->hotplug_slot);
                 }
         }

-
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 : Wed May 07 2003 - 22:00:19 EST