aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2022-05-06 14:25:35 +0200
committerHans de Goede <hdegoede@redhat.com>2022-05-12 15:35:29 +0200
commit3e70a57b659463147a35734429d035940306e08f (patch)
tree38485b455fda6fbe4180797a615dd86c72ad6d5b /drivers/platform
parentDocumentation/ABI: Add new attributes for mlxreg-io sysfs interfaces (diff)
downloadlinux-dev-3e70a57b659463147a35734429d035940306e08f.tar.xz
linux-dev-3e70a57b659463147a35734429d035940306e08f.zip
platform/x86: asus-wmi: Update unknown code message
Prepend 0x to the actual key code to specify it is already an hex value Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Link: https://lore.kernel.org/r/20220506122536.113566-1-luca.stefani.ge1@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index 9dc511f040d6..62ce198a3463 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -3114,7 +3114,7 @@ static void asus_wmi_handle_event_code(int code, struct asus_wmi *asus)
if (!sparse_keymap_report_event(asus->inputdev, code,
key_value, autorelease))
- pr_info("Unknown key %x pressed\n", code);
+ pr_info("Unknown key code 0x%x\n", code);
}
static void asus_wmi_notify(u32 value, void *context)