mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
tty: bcm: convert to u8 and size_t
Switch character types to u8 and sizes to size_t. To conform to characters/sizes in the rest of the tty layer. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Cc: Scott Branden <scott.branden@broadcom.com> Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> Cc: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20231206073712.17776-8-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fbdeead959
commit
03e5af5257
@ -64,9 +64,9 @@ static void bcm_vk_tty_wq_handler(struct work_struct *work)
|
||||
struct bcm_vk_tty *vktty;
|
||||
int card_status;
|
||||
int count;
|
||||
unsigned char c;
|
||||
int i;
|
||||
int wr;
|
||||
u8 c;
|
||||
|
||||
card_status = vkread32(vk, BAR_0, BAR_CARD_STATUS);
|
||||
if (BCM_VK_INTF_IS_DOWN(card_status))
|
||||
@ -192,7 +192,7 @@ static ssize_t bcm_vk_tty_write(struct tty_struct *tty, const u8 *buffer,
|
||||
int index;
|
||||
struct bcm_vk *vk;
|
||||
struct bcm_vk_tty *vktty;
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
index = tty->index;
|
||||
vk = dev_get_drvdata(tty->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user