ACPI: utils: include UUID in _DSM evaluation warning
authorMichael Niewöhner <linux@mniewoehner.de>
Tue, 17 May 2022 18:40:06 +0000 (20:40 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:06:26 +0000 (20:06 +0200)
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>
drivers/acpi/utils.c

index d5cedffeeff915b7b571ae08a9298c26a3772015..3a9773a09e199ad884b7954e1dfb24812937ed2a 100644 (file)
@@ -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;
 }