summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/asus-wireless.c
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2018-05-23 00:29:56 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-05-31 17:16:59 +0300
commitcc5cceff288f8d8b45c7790e38190d3ca4d3dec0 (patch)
tree73a771d6c85de675a39b4d8d515e9eec87fc6dd2 /drivers/platform/x86/asus-wireless.c
parentcf48bf9eee42061c0dbe06ba3e26244dd933cab1 (diff)
downloadlinux-cc5cceff288f8d8b45c7790e38190d3ca4d3dec0.tar.xz
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/x86/asus-wireless.c')
-rw-r--r--drivers/platform/x86/asus-wireless.c2
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;
}