Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: mmc: sdio: use u8 for flag

Switch character types to u8. To conform to characters in the rest of
the tty layer.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
Link: https://lore.kernel.org/r/20231206073712.17776-17-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby (SUSE) and committed by
Greg Kroah-Hartman
2573f7ea ce7cbd9a

+1 -2
+1 -2
drivers/mmc/core/sdio_uart.c
··· 354 354 355 355 static void sdio_uart_receive_chars(struct sdio_uart_port *port, u8 *status) 356 356 { 357 - unsigned int flag; 358 357 int max_count = 256; 359 358 360 359 do { 361 360 u8 ch = sdio_in(port, UART_RX); 362 - flag = TTY_NORMAL; 361 + u8 flag = TTY_NORMAL; 363 362 port->icount.rx++; 364 363 365 364 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE |