Message ID | 20201215145928.1912641-1-trix@redhat.com |
---|---|
State | Accepted |
Commit | 4d2b71634b5ad142617e430bc6ef659331a576d0 |
Headers | show |
Series | HID: wiimote: remove h from printk format specifier | expand |
On Tue, 15 Dec 2020, trix@redhat.com wrote: > From: Tom Rix <trix@redhat.com> > > 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> Applied this one too. Thanks Tom. -- Jiri Kosina SUSE Labs
diff --git a/drivers/hid/hid-wiimote-core.c b/drivers/hid/hid-wiimote-core.c index 41012681cafd..4399d6c6afef 100644 --- 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 %hhu\n", err, + hid_warn(wdata->hdev, "Remote error %u on req %u\n", err, cmd); } }