diff options
author | João Paulo Rechi Vita <jprvita@gmail.com> | 2018-05-22 23:29:56 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-05-31 16:16:59 +0200 |
commit | cc5cceff288f8d8b45c7790e38190d3ca4d3dec0 (patch) | |
tree | 73a771d6c85de675a39b4d8d515e9eec87fc6dd2 /drivers/platform | |
parent | platform/x86: asus-wmi: Fix NULL pointer dereference (diff) | |
download | linux-cc5cceff288f8d8b45c7790e38190d3ca4d3dec0.tar.xz linux-cc5cceff288f8d8b45c7790e38190d3ca4d3dec0.zip |
platform/x86: asus-wireless: Fix format specifier
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-wireless.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/asus-wireless.c index f086469ea740..6afd011de9e5 100644 --- a/drivers/platform/x86/asus-wireless.c +++ b/drivers/platform/x86/asus-wireless.c @@ -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; } |