platform/x86: asus-wireless: Fix format specifier
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Tue, 22 May 2018 21:29:56 +0000 (14:29 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 31 May 2018 14:16:59 +0000 (17:16 +0300)
u64 should be printed with %llx instead of %x and cast to uint.

Signed-off-by: João Paulo Rechi Vita <jprvita@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wireless.c

index f086469..6afd011 100644 (file)
@@ -72,7 +72,7 @@ static u64 asus_wireless_method(acpi_handle handle, const char *method,
                acpi_handle_err(handle,
                                "Failed to eval method %s, param %#x (%d)\n",
                                method, param, s);
-       acpi_handle_debug(handle, "%s returned %#x\n", method, (uint) ret);
+       acpi_handle_debug(handle, "%s returned %#llx\n", method, ret);
        return ret;
 }