} else if (!efi_guidcmp(sp->guid, SAL_PLAT_PCI_BUS_ERR_SECT_GUID)) { 
} else if (!efi_guidcmp(sp->guid, SAL_PLAT_PCI_BUS_ERR_SECT_GUID)) { 
mca_make_slidx(void *buffer, slidx_table_t *slidx){	int platform_err = 0;	int record_len = ((sal_log_record_header_t*)buffer)->len;	u32 ercd_pos;	int sects;	sal_log_section_hdr_t *sp;	/*	 * Initialize index referring current record	 */	INIT_LIST_HEAD(&(slidx->proc_err));	INIT_LIST_HEAD(&(slidx->mem_dev_err));	INIT_LIST_HEAD(&(slidx->sel_dev_err));	INIT_LIST_HEAD(&(slidx->pci_bus_err));	INIT_LIST_HEAD(&(slidx->smbios_dev_err));	INIT_LIST_HEAD(&(slidx->pci_comp_err));	INIT_LIST_HEAD(&(slidx->plat_specific_err));	INIT_LIST_HEAD(&(slidx->host_ctlr_err));	INIT_LIST_HEAD(&(slidx->plat_bus_err));	INIT_LIST_HEAD(&(slidx->unsupported));	/*	 * Extract a Record Header	 */	slidx->header = buffer;	/*	 * Extract each section records	 * (arranged from "int ia64_log_platform_info_print()")	 */	for (ercd_pos = sizeof(sal_log_record_header_t), sects = 0;		ercd_pos < record_len; ercd_pos += sp->len, sects++) {		sp = (sal_log_section_hdr_t *)((char*)buffer + ercd_pos);		if (!efi_guidcmp(sp->guid, SAL_PROC_DEV_ERR_SECT_GUID)) {			LOG_INDEX_ADD_SECT_PTR(slidx->proc_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->mem_dev_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_SEL_DEV_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->sel_dev_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_PCI_BUS_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->pci_bus_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_SMBIOS_DEV_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->smbios_dev_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_PCI_COMP_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->pci_comp_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_SPECIFIC_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->plat_specific_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_HOST_CTLR_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->host_ctlr_err, sp);		} else if (!efi_guidcmp(sp->guid, SAL_PLAT_BUS_ERR_SECT_GUID)) {			platform_err = 1;			LOG_INDEX_ADD_SECT_PTR(slidx->plat_bus_err, sp);		} else {			LOG_INDEX_ADD_SECT_PTR(slidx->unsupported, sp);		}	}	slidx->n_sections = sects;	return platform_err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/20305e59724381365096b6ab0a48054723367c80/mca_drv.c/buggy/arch/ia64/kernel/mca_drv.c