Displaying 1 result from an estimated 1 matches for "acpi_hpet_unit".
2012 Nov 28
2
[PATCH] VT-d: make scope parsing code type safe
...dprintk(VTDPREFIX, " MSI HPET: %04x:%02x:%02x.%u\n",
seg, bus, path->dev, path->fn);
- if ( type == DMAR_TYPE )
+ if ( drhd )
{
- struct acpi_drhd_unit *drhd = acpi_entry;
struct acpi_hpet_unit *acpi_hpet_unit;
acpi_hpet_unit = xmalloc(struct acpi_hpet_unit);
@@ -381,10 +382,8 @@ static int __init acpi_parse_dev_scope(
dprintk(VTDPREFIX, " endpoint: %04x:%02x:%02x.%u\n",
seg, bus, path->dev, path->fn);
-...