projects
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d0f95
)
HID: wiimote: remove h from printk format specifier
author
Tom Rix
<trix@redhat.com>
Tue, 15 Dec 2020 14:59:28 +0000
(06:59 -0800)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 7 Jan 2021 09:14:58 +0000
(10:14 +0100)
See Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-wiimote-core.c
b/drivers/hid/hid-wiimote-core.c
index 41012681cafd1ec469d9bfb19930cf1d4a5c6d00..4399d6c6afef2c2bdb22eb013e4b2ac1a729284e 100644
(file)
--- a/
drivers/hid/hid-wiimote-core.c
+++ b/
drivers/hid/hid-wiimote-core.c
@@
-1482,7
+1482,7
@@
static void handler_return(struct wiimote_data *wdata, const __u8 *payload)
wdata->state.cmd_err = err;
wiimote_cmd_complete(wdata);
} else if (err) {
- hid_warn(wdata->hdev, "Remote error %
hhu on req %hh
u\n", err,
+ hid_warn(wdata->hdev, "Remote error %
u on req %
u\n", err,
cmd);
}
}