Skip to content

Commit

Permalink
ACPI: utils: include UUID in _DSM evaluation warning
Browse files Browse the repository at this point in the history
The _DSM evaluation warning in its current form is not very helpful, as
it lacks any specific information:
  ACPI: \: failed to evaluate _DSM (0x1001)

Thus, include the UUID of the missing _DSM:
  ACPI: \: failed to evaluate _DSM bf0212f2-... (0x1001)

Signed-off-by: Michael Niewöhner <linux@mniewoehner.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Michael Niewöhner authored and Rafael J. Wysocki committed May 19, 2022
1 parent 42226c9 commit 06eb8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/utils.c
Original file line number Diff line number Diff line change
@@ -681,7 +681,7 @@ acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func,

if (ret != AE_NOT_FOUND)
acpi_handle_warn(handle,
"failed to evaluate _DSM (0x%x)\n", ret);
"failed to evaluate _DSM %pUb (0x%x)\n", guid, ret);

return NULL;
}

0 comments on commit 06eb8dc

Please sign in to comment.