/* create "phy_removable" file */ rpaphp_sysfs_add_attr_removable(slot->hotplug_slot);  
int register_slot(struct slot *slot){	int retval;	dbg("%s registering slot:path[%s] index[%x], name[%s] pdomain[%x] type[%d]\n", 		__FUNCTION__, slot->dn->full_name, slot->index, slot->name, 		slot->power_domain, slot->type);	/* should not try to register the same slot twice */	if (is_registered(slot)) { /* should't be here */		err("register_slot: slot[%s] is already registered\n", slot->name);		rpaphp_release_slot(slot->hotplug_slot);		return -EAGAIN;	}		retval = pci_hp_register(slot->hotplug_slot);	if (retval) {		err("pci_hp_register failed with error %d\n", retval);		rpaphp_release_slot(slot->hotplug_slot);		return retval;	}		/* create "phy_locatoin" file */	rpaphp_sysfs_add_attr_location(slot->hotplug_slot);		/* create "phy_removable" file */	rpaphp_sysfs_add_attr_removable(slot->hotplug_slot);		/* add slot to our internal list */	dbg("%s adding slot[%s] to rpaphp_slot_list\n",	    __FUNCTION__, slot->name);	list_add(&slot->rpaphp_slot_list, &rpaphp_slot_head);	info("Slot [%s](PCI location=%s) registered\n", slot->name,			slot->location);	num_slots++;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/56d8456b06ad1316bff3c75caed5e06e786f20d8/rpaphp_slot.c/buggy/drivers/pci/hotplug/rpaphp_slot.c