linux/drivers/tty/serial
Jiri Slaby fff4ef17a9 tty: make tty_operations::chars_in_buffer return uint
tty_operations::chars_in_buffer is another hook which is expected to
return values >= 0. So make it explicit by the return type too -- use
unsigned int.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Acked-by: David Sterba <dsterba@suse.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Cc: Jens Taprogge <jens.taprogge@taprogge.org>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: David Lin <dtwlin@gmail.com>
Cc: Johan Hovold <johan@kernel.org>
Cc: Alex Elder <elder@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Oliver Neukum <oneukum@suse.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Mathias Nyman <mathias.nyman@intel.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Link: https://lore.kernel.org/r/20210505091928.22010-27-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 18:29:11 +02:00
..
8250 tty: make tty_buffer_space_avail return uint 2021-05-13 18:29:11 +02:00
cpm_uart tty: cpm_uart, use port->flags instead of low_latency 2021-01-07 16:17:31 +01:00
jsm Merge 5.12-rc6 into tty-next 2021-04-05 08:59:21 +02:00
21285.c
altera_jtaguart.c serial: altera_jtaguart: drop low-latency workaround 2021-04-22 12:09:24 +02:00
altera_uart.c serial: altera_uart: drop low-latency workaround 2021-04-22 12:09:24 +02:00
amba-pl010.c serial: amba-pl010: drop low-latency workaround 2021-04-22 12:09:24 +02:00
amba-pl011.c serial: amba-pl011: drop low-latency workaround 2021-04-22 12:09:24 +02:00
amba-pl011.h
apbuart.c serial: apbuart: drop low-latency workaround 2021-04-22 12:09:25 +02:00
apbuart.h
ar933x_uart.c serial: ar933x: drop low-latency workaround 2021-04-22 12:09:25 +02:00
arc_uart.c tty: cumulate and document tty_struct::flow* members 2021-05-13 16:57:16 +02:00
atmel_serial.c serial: atmel_serial: drop low-latency workaround 2021-04-22 12:09:25 +02:00
atmel_serial.h
bcm63xx_uart.c serial: bcm63xx: drop low-latency workaround 2021-04-22 12:09:25 +02:00
clps711x.c
digicolor-usart.c
dz.c tty: cumulate and document tty_struct::flow* members 2021-05-13 16:57:16 +02:00
dz.h
earlycon-arm-semihost.c
earlycon-riscv-sbi.c
earlycon.c earlycon: simplify earlycon-table implementation 2020-12-04 15:49:48 +01:00
fsl_linflexuart.c tty: serial: linflexuart: Remove unnecessary '|' operation and add error count 2020-11-06 17:12:30 +01:00
fsl_lpuart.c serial: fsl_lpuart: disable DMA for console and fix sysrq 2021-05-13 16:08:26 +02:00
icom.c serial: icom: drop low-latency workaround 2021-04-22 12:09:25 +02:00
icom.h
imx_earlycon.c
imx.c serial: imx: drop workaround for forced irq threading 2021-03-23 10:32:44 +01:00
ip22zilog.c
ip22zilog.h
Kconfig serial: extend compile-test coverage 2021-04-22 13:12:13 +02:00
kgdb_nmi.c tty: make tty_operations::write_room return uint 2021-05-13 17:03:20 +02:00
kgdboc.c
lantiq.c tty/serial/lantiq: convert comma to semicolon 2020-12-28 16:10:50 +01:00
liteuart.c serial: liteuart: fix return value check in liteuart_probe() 2021-03-10 09:34:10 +01:00
lpc32xx_hs.c serial: lpc32xx_hs: drop low-latency workaround 2021-04-22 12:09:25 +02:00
Makefile serial: ifx6x60: Remove driver for deprecated platform 2021-01-26 19:21:49 +01:00
max310x.c tty: max310x: fix flexible_array.cocci warnings 2021-03-23 10:24:27 +01:00
max3100.c tty_port: drop last traces of low_latency 2021-01-07 16:17:32 +01:00
mcf.c serial: mcf: drop low-latency workaround 2021-04-22 12:09:25 +02:00
men_z135_uart.c
meson_uart.c serial: meson: remove redundant initialization of variable id 2021-05-13 16:23:12 +02:00
milbeaut_usio.c
mpc52xx_uart.c serial: mpc52xx_uart: drop low-latency workaround 2021-04-22 12:09:25 +02:00
mps2-uart.c
msm_serial.c serial: msm_serial: drop low-latency workaround 2021-04-22 12:09:25 +02:00
mux.c
mvebu-uart.c serial: mvebu-uart: fix tx lost characters at power off 2020-12-28 16:17:34 +01:00
mxs-auart.c serial: mxs-auart: Remove <asm/cacheflush.h> 2021-01-20 18:48:19 +01:00
omap-serial.c serial: omap: fix rs485 half-duplex filtering 2021-04-22 12:07:07 +02:00
owl-uart.c serial: owl: drop low-latency workaround 2021-04-22 12:09:25 +02:00
pch_uart.c serial: pch_uart: fix build error with !CONFIG_DEBUG_FS 2021-03-23 10:31:09 +01:00
pic32_uart.c
pic32_uart.h
pmac_zilog.c m68k: Fix WARNING splat in pmac_zilog driver 2020-11-23 11:31:00 +01:00
pmac_zilog.h tty: serial: pmac_zilog: Remove unused disposable variable 'garbage' 2020-11-13 15:28:27 +01:00
pxa.c
qcom_geni_serial.c serial: qcom_geni_serial: redundant initialization to variable line 2021-05-13 16:20:51 +02:00
rda-uart.c serial: rda: drop low-latency workaround 2021-04-22 12:09:26 +02:00
rp2.c serial: rp2: drop low-latency workaround 2021-04-22 12:09:26 +02:00
sa1100.c serial: sa1100: drop low-latency workaround 2021-04-22 12:09:26 +02:00
samsung_tty.c tty: serial: samsung_tty: remove set but not used variables 2021-05-13 16:10:53 +02:00
sb1250-duart.c
sc16is7xx.c sc16is7xx: Defer probe if device read fails 2021-04-05 12:07:32 +02:00
sccnxp.c
serial_core.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
serial_mctrl_gpio.c serial: mctrl_gpio: Fix passing zero to 'ERR_PTR' warning 2020-11-06 17:12:05 +01:00
serial_mctrl_gpio.h
serial_txx9.c serial: txx9: drop low-latency workaround 2021-04-22 12:09:26 +02:00
serial-tegra.c tty: serial: serial-tegra: Provide some missing struct member descriptions 2020-11-06 10:54:05 +01:00
sh-sci.c serial: sh-sci: remove obsolete latency workaround 2021-04-15 12:59:16 +02:00
sh-sci.h
sifive.c serial: sifive: drop low-latency workaround 2021-04-22 12:09:26 +02:00
sprd_serial.c
st-asc.c
stm32-usart.c serial: stm32: add FIFO threshold configuration 2021-04-22 12:11:25 +02:00
stm32-usart.h serial: stm32: add FIFO threshold configuration 2021-04-22 12:11:25 +02:00
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c serial: sunsu: drop low-latency workaround 2021-04-22 12:09:26 +02:00
sunzilog.c
sunzilog.h
tegra-tcu.c serial: Add missing MODULE_DEVICE_TABLE 2021-04-10 10:37:27 +02:00
timbuart.c serial: timbuart: drop low-latency workaround 2021-04-22 12:09:26 +02:00
timbuart.h
uartlite.c tty: serial: uartlite: Support probe deferral 2020-12-04 16:51:40 +01:00
ucc_uart.c tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}* 2021-04-06 15:40:42 -05:00
vr41xx_siu.c
vt8500_serial.c serial: vt8500: drop low-latency workaround 2021-04-22 12:09:26 +02:00
xilinx_uartps.c serial: xilinx_uartps: drop low-latency workaround 2021-04-22 12:09:26 +02:00
zs.c
zs.h