HID: wiimote: remove h from printk format specifier
Subsystems (2)
PATCH 1/1 HID: wiimote: remove h from printk format specifier
From: Tom Rix <[email protected]>
See Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.
Signed-off-by Tom Rix <[email protected]>
--- drivers/hid/hid-wiimote-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-wiimote-core.c +1 -1
@@ -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); } }
Signature · 1 line
2.27.0
Quoted 6 lines · On Tue, 15 Dec 2020, [email protected] wrote:
From: Tom Rix <[email protected]>
See
Documentation/core-api/printk-formats.rst.
h should no longer be used in the format specifier for printk.Signed-off-by Tom Rix <[email protected]>
Applied this one too. Thanks Tom.
Signature · 2 lines
Jiri Kosina SUSE Labs