From: Heinrich Schuchardt Date: Sat, 23 Nov 2019 17:15:19 +0000 (+0100) Subject: usb: kbd: signature of usb_kbd_put_queue() X-Git-Tag: v2020.10~474^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28dfa7d80d8ddf7ef795f518230964d2c393b25b;p=platform%2Fkernel%2Fu-boot.git usb: kbd: signature of usb_kbd_put_queue() usb_kbd_buffer is defined as u8[]. So let usb_kbd_put_queue() use u8 as type of the parameter for the new byte. Signed-off-by: Heinrich Schuchardt --- diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 8c09e61..e4711eb 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -127,7 +127,7 @@ extern int __maybe_unused net_busy_flag; static unsigned long __maybe_unused kbd_testc_tms; /* Puts character in the queue and sets up the in and out pointer. */ -static void usb_kbd_put_queue(struct usb_kbd_pdata *data, char c) +static void usb_kbd_put_queue(struct usb_kbd_pdata *data, u8 c) { if (data->usb_in_pointer == USB_KBD_BUFFER_LEN - 1) { /* Check for buffer full. */