Juan Romero Pardines wrote:
if (elem->Type != ACPI_TYPE_ANY || elem->Type != ACPI_TYPE_LOCAL_REFERENCE)) { ... }
That can't be what you intend :) Simply change it to: if (elem->Type != ACPI_TYPE_LOCAL_REFERENCE) { ... } Cheers, Jared