Displaying 1 result from an estimated 1 matches for "dev_scope_start".
2012 Nov 28
2
[PATCH] VT-d: make scope parsing code type safe
...f ( drhd )
{
- struct acpi_drhd_unit *drhd = acpi_entry;
acpi_ioapic_unit = xmalloc(struct acpi_ioapic_unit);
if ( !acpi_ioapic_unit )
return -ENOMEM;
@@ -463,7 +461,7 @@ acpi_parse_one_drhd(struct acpi_dmar_hea
dev_scope_start = (void *)(drhd + 1);
dev_scope_end = ((void *)drhd) + header->length;
ret = acpi_parse_dev_scope(dev_scope_start, dev_scope_end,
- dmaru, DMAR_TYPE, drhd->segment);
+ &dmaru->scope, DMAR_TYPE, drhd->segment);...