 sprintf(bss_hotplug_slot->name, "module_%c%c%c%c%.2d_b_%d_s_%d", 
sprintf(bss_hotplug_slot->name, "%04x:%02x:%02x", pci_domain_nr(pci_bus), ((int)pcibus_info->pbi_buscommon.bs_persist_busnum) & 0xf, device + 1); sprintf(slot->physical_path, "module_%c%c%c%c%.2d", 
static int sn_hp_slot_private_alloc(struct hotplug_slot *bss_hotplug_slot,				    struct pci_bus *pci_bus, int device){	struct pcibus_info *pcibus_info;	struct slot *slot;	pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus);	bss_hotplug_slot->private = kcalloc(1, sizeof(struct slot),					    GFP_KERNEL);	if (!bss_hotplug_slot->private)		return -ENOMEM;	slot = (struct slot *)bss_hotplug_slot->private;	bss_hotplug_slot->name = kmalloc(33, GFP_KERNEL);	if (!bss_hotplug_slot->name) {		kfree(bss_hotplug_slot->private);		return -ENOMEM;	}	slot->device_num = device;	slot->pci_bus = pci_bus;	sprintf(bss_hotplug_slot->name, "module_%c%c%c%c%.2d_b_%d_s_%d",		'0'+RACK_GET_CLASS(MODULE_GET_RACK(pcibus_info->pbi_moduleid)),		'0'+RACK_GET_GROUP(MODULE_GET_RACK(pcibus_info->pbi_moduleid)),		'0'+RACK_GET_NUM(MODULE_GET_RACK(pcibus_info->pbi_moduleid)),		MODULE_GET_BTCHAR(pcibus_info->pbi_moduleid),		MODULE_GET_BPOS(pcibus_info->pbi_moduleid),		((int)pcibus_info->pbi_buscommon.bs_persist_busnum) & 0xf,		device + 1);	slot->hotplug_slot = bss_hotplug_slot;	list_add(&slot->hp_list, &sn_hp_list);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1d2450a4a6eb656798c6282b5ffc8e5f9f52ac14/sgi_hotplug.c/clean/drivers/pci/hotplug/sgi_hotplug.c