if (slot->bridge) {  pci_bus = slot->bridge->subordinate; if (!pci_bus) { err("%s: can't find bus structure\n", __FUNCTION__); goto exit; } enable_eeh(slot->dn); dev = rpaphp_pci_config_slot(slot->dn, pci_bus); if (!dev) { err("%s: can't find any devices.\n", __FUNCTION__); goto exit; } print_slot_pci_funcs(slot); rc = 0; } else { /* slot is not enabled */ err("slot doesn't have pci_dev structure\n"); 
enable_eeh(slot->dn); dev = rpaphp_pci_config_slot(slot->dn, slot->bus); if (!dev) { err("%s: can't find any devices.\n", __FUNCTION__); goto exit; 
static int rpaphp_config_pci_adapter(struct slot *slot){	struct pci_bus *pci_bus;	struct pci_dev *dev;	int rc = -ENODEV;	dbg("Entry %s: slot[%s]\n", __FUNCTION__, slot->name);	if (slot->bridge) {		pci_bus = slot->bridge->subordinate;		if (!pci_bus) {			err("%s: can't find bus structure\n", __FUNCTION__);			goto exit;		}		enable_eeh(slot->dn);		dev = rpaphp_pci_config_slot(slot->dn, pci_bus);		if (!dev) {			err("%s: can't find any devices.\n", __FUNCTION__);			goto exit;		}		print_slot_pci_funcs(slot);		rc = 0;	} else {		/* slot is not enabled */		err("slot doesn't have pci_dev structure\n");	}exit:	dbg("Exit %s:  rc=%d\n", __FUNCTION__, rc);	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9c209c919df95f83aa042b3352c43841ad15a02b/rpaphp_pci.c/buggy/drivers/pci/hotplug/rpaphp_pci.c