if (resource->id != ACPI_RSTYPE_VENDOR) 
if (resource->type != ACPI_RSTYPE_VENDOR) 
acpi_vendor_resource_match(struct acpi_resource *resource, void *context){	struct acpi_vendor_info *info = (struct acpi_vendor_info *)context;	struct acpi_resource_vendor *vendor;	struct acpi_vendor_descriptor *descriptor;	u32 length;	if (resource->id != ACPI_RSTYPE_VENDOR)		return AE_OK;	vendor = (struct acpi_resource_vendor *)&resource->data;	descriptor = (struct acpi_vendor_descriptor *)vendor->reserved;	if (vendor->length <= sizeof(*info->descriptor) ||	    descriptor->guid_id != info->descriptor->guid_id ||	    efi_guidcmp(descriptor->guid, info->descriptor->guid))		return AE_OK;	length = vendor->length - sizeof(struct acpi_vendor_descriptor);	info->data = acpi_os_allocate(length);	if (!info->data)		return AE_NO_MEMORY;	memcpy(info->data,	       vendor->reserved + sizeof(struct acpi_vendor_descriptor),	       length);	info->length = length;	return AE_CTRL_TERMINATE;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c780f964902a8c4e7f702ff3e0a2b754e82b3ca3/acpi-ext.c/clean/arch/ia64/kernel/acpi-ext.c