From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
To: gregkh@linuxfoundation.org
Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
"Jiri Slaby (SUSE)" <jirislaby@kernel.org>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Amit Shah <amit@kernel.org>,
Anton Ivanov <anton.ivanov@cambridgegreys.com>,
Arnd Bergmann <arnd@arndb.de>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Heiko Carstens <hca@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Chris Zankel <chris@zankel.net>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Jens Taprogge <jens.taprogge@taprogge.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>,
Karsten Keil <isdn@linux-pingi.de>,
Laurentiu Tudor <laurentiu.tudor@nxp.com>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Marcel Holtmann <marcel@holtmann.org>,
Matt Turner <mattst88@gmail.com>,
Max Filippov <jcmvbkbc@gmail.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Richard Henderson <richard.henderson@linaro.org>,
Richard Weinberger <richard@nod.at>,
Rob Herring <robh@kernel.org>,
Scott Branden <scott.branden@broadcom.com>,
Sven Schnelle <svens@linux.ibm.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Vaibhav Gupta <vaibhavgupta40@gmail.com>,
Vasily Gorbik <gor@linux.ibm.com>
Subject: [PATCH 00/27] tty: type unifications -- the last part
Date: Wed, 6 Dec 2023 08:36:45 +0100 [thread overview]
Message-ID: <20231206073712.17776-1-jirislaby@kernel.org> (raw)
This is a continuation of the previous cleanups in the tty layer.
Especially those in the character and size types. As this patchset
propagates the unified u8 and size_t to most of the drivers, this is the
last part of this very rework.
If people still see char or unsigned char for a character (or flag),
please fix. The same holds for signed ints used as sizes.
Note that the first two patches are mostly preparatory cleanup. The rest
is switch to u8 and size_t of the tx paths in drivers.
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Amit Shah <amit@kernel.org>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Chris Zankel <chris@zankel.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Jens Taprogge <jens.taprogge@taprogge.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rob Herring <robh@kernel.org>
Cc: Scott Branden <scott.branden@broadcom.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Jiri Slaby (SUSE) (27):
tty: goldfish: use bool for is_write parameter
tty: mmc: sdio_uart: switch sdio_in() to return u8
tty: switch tty_port::xmit_* to u8
tty: make tty_operations::send_xchar accept u8 char
tty: core: the rest to u8
tty: ami: use u8 for characters and flag
tty: bcm: convert to u8 and size_t
tty: con3215: convert to u8 and size_t
tty: con3270: convert to u8 and size_t
tty: ehv_bytechan: convert to u8 and size_t
tty: goldfish: convert to u8 and size_t
tty: hvc: convert to u8 and size_t
tty: ipoctal: convert to u8 and size_t
tty: m68k: nfcon: convert to u8 and size_t
tty: mips_ejtag_fdc: use u8 for character pointers
tty: mmc: sdio: use u8 for flag
tty: moxa: convert to u8 and size_t
tty: mxser: convert to u8 and size_t
tty: n_gsm: convert to u8 and size_t
tty: n_hdlc: convert to u8 and size_t
tty: nozomi: convert to u8 and size_t
tty: serdev: convert to u8 and size_t in serdev_controller_ops
tty: serdev: convert to u8 and size_t
tty: srmcons: convert to u8 and size_t
tty: ttyprintk: convert to u8 and size_t
tty: um: convert to u8/__u8 and size_t
tty: xtensa/iss: use u8
arch/alpha/kernel/srmcons.c | 6 ++---
arch/m68k/emu/nfcon.c | 4 ++--
arch/powerpc/include/asm/hvconsole.h | 4 ++--
arch/powerpc/include/asm/hvsi.h | 18 +++++++-------
arch/powerpc/include/asm/opal.h | 8 ++++---
arch/powerpc/platforms/powernv/opal.c | 14 ++++++-----
arch/powerpc/platforms/pseries/hvconsole.c | 4 ++--
arch/um/drivers/chan.h | 2 +-
arch/um/drivers/chan_kern.c | 9 ++++---
arch/um/drivers/chan_user.c | 4 ++--
arch/um/drivers/chan_user.h | 9 +++----
arch/um/drivers/line.c | 2 +-
arch/um/drivers/line.h | 6 ++---
arch/um/drivers/null.c | 2 +-
arch/xtensa/platforms/iss/console.c | 2 +-
drivers/bluetooth/btmtkuart.c | 4 ++--
drivers/bluetooth/btnxpuart.c | 4 ++--
drivers/bluetooth/hci_serdev.c | 4 ++--
drivers/char/ttyprintk.c | 6 ++---
drivers/char/virtio_console.c | 10 ++++----
drivers/gnss/serial.c | 4 ++--
drivers/gnss/sirf.c | 4 ++--
drivers/greybus/gb-beagleplay.c | 5 ++--
drivers/iio/chemical/pms7003.c | 6 ++---
drivers/iio/chemical/scd30_serial.c | 6 ++---
drivers/iio/chemical/sps30_serial.c | 18 +++++++-------
drivers/iio/imu/bno055/bno055_ser_core.c | 6 ++---
drivers/ipack/devices/ipoctal.c | 14 +++++------
drivers/isdn/capi/capi.c | 4 ++--
drivers/mfd/rave-sp.c | 10 ++++----
drivers/misc/bcm-vk/bcm_vk_tty.c | 4 ++--
drivers/mmc/core/sdio_uart.c | 22 +++++++----------
drivers/net/ethernet/qualcomm/qca_uart.c | 5 ++--
drivers/nfc/pn533/uart.c | 4 ++--
drivers/nfc/s3fwrn5/uart.c | 5 ++--
drivers/platform/chrome/cros_ec_uart.c | 5 ++--
.../platform/surface/aggregator/controller.h | 4 ++--
drivers/platform/surface/aggregator/core.c | 4 ++--
.../surface/aggregator/ssh_packet_layer.c | 4 ++--
.../surface/aggregator/ssh_packet_layer.h | 2 +-
drivers/s390/char/con3215.c | 24 +++++++++----------
drivers/s390/char/con3270.c | 12 +++++-----
drivers/tty/amiserial.c | 6 ++---
drivers/tty/ehv_bytechan.c | 11 ++++-----
drivers/tty/goldfish.c | 20 +++++++---------
drivers/tty/hvc/hvc_console.h | 4 ++--
drivers/tty/hvc/hvc_dcc.c | 24 +++++++++----------
drivers/tty/hvc/hvc_iucv.c | 18 +++++++-------
drivers/tty/hvc/hvc_opal.c | 5 ++--
drivers/tty/hvc/hvc_riscv_sbi.c | 9 +++----
drivers/tty/hvc/hvc_rtas.c | 11 +++++----
drivers/tty/hvc/hvc_udbg.c | 9 +++----
drivers/tty/hvc/hvc_vio.c | 18 +++++++-------
drivers/tty/hvc/hvc_xen.c | 23 +++++++++---------
drivers/tty/hvc/hvsi_lib.c | 20 +++++++++-------
drivers/tty/mips_ejtag_fdc.c | 10 ++++----
drivers/tty/moxa.c | 15 ++++++------
drivers/tty/mxser.c | 8 +++----
drivers/tty/n_gsm.c | 17 +++++++------
drivers/tty/n_hdlc.c | 10 ++++----
drivers/tty/nozomi.c | 9 ++++---
drivers/tty/serdev/core.c | 12 ++++------
drivers/tty/serdev/serdev-ttyport.c | 2 +-
drivers/tty/serial/serial_core.c | 2 +-
drivers/tty/tty_io.c | 12 +++++-----
drivers/tty/tty_port.c | 2 +-
include/linux/serdev.h | 21 ++++++++--------
include/linux/tty.h | 6 ++---
include/linux/tty_driver.h | 4 ++--
include/linux/tty_port.h | 4 ++--
net/bluetooth/rfcomm/tty.c | 2 +-
sound/drivers/serial-generic.c | 4 ++--
72 files changed, 306 insertions(+), 306 deletions(-)
--
2.43.0
next reply other threads:[~2023-12-06 7:37 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 7:36 Jiri Slaby (SUSE) [this message]
2023-12-06 7:36 ` [PATCH 01/27] tty: goldfish: use bool for is_write parameter Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 02/27] tty: mmc: sdio_uart: switch sdio_in() to return u8 Jiri Slaby (SUSE)
2023-12-07 14:09 ` Ulf Hansson
2023-12-06 7:36 ` [PATCH 03/27] tty: switch tty_port::xmit_* to u8 Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 04/27] tty: make tty_operations::send_xchar accept u8 char Jiri Slaby (SUSE)
2023-12-06 8:27 ` Geert Uytterhoeven
2023-12-07 14:09 ` Ulf Hansson
2023-12-06 7:36 ` [PATCH 05/27] tty: core: the rest to u8 Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 06/27] tty: ami: use u8 for characters and flag Jiri Slaby (SUSE)
2023-12-06 8:28 ` Geert Uytterhoeven
2023-12-06 7:36 ` [PATCH 07/27] tty: bcm: convert to u8 and size_t Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 08/27] tty: con3215: " Jiri Slaby (SUSE)
2023-12-08 13:19 ` Alexander Gordeev
2023-12-06 7:36 ` [PATCH 09/27] tty: con3270: " Jiri Slaby (SUSE)
2023-12-08 13:19 ` Alexander Gordeev
2023-12-06 7:36 ` [PATCH 10/27] tty: ehv_bytechan: " Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 11/27] tty: goldfish: " Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 12/27] tty: hvc: " Jiri Slaby (SUSE)
2023-12-06 9:30 ` Christophe Leroy
2023-12-06 7:36 ` [PATCH 13/27] tty: ipoctal: " Jiri Slaby (SUSE)
2023-12-06 7:36 ` [PATCH 14/27] tty: m68k: nfcon: " Jiri Slaby (SUSE)
2023-12-06 7:51 ` Geert Uytterhoeven
2023-12-06 7:37 ` [PATCH 15/27] tty: mips_ejtag_fdc: use u8 for character pointers Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 16/27] tty: mmc: sdio: use u8 for flag Jiri Slaby (SUSE)
2023-12-07 14:10 ` Ulf Hansson
2023-12-06 7:37 ` [PATCH 17/27] tty: moxa: convert to u8 and size_t Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 18/27] tty: mxser: " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 19/27] tty: n_gsm: " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 20/27] tty: n_hdlc: " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 21/27] tty: nozomi: " Jiri Slaby (SUSE)
2023-12-07 12:50 ` Ilpo Järvinen
2023-12-06 7:37 ` [PATCH 22/27] tty: serdev: convert to u8 and size_t in serdev_controller_ops Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 23/27] tty: serdev: convert to u8 and size_t Jiri Slaby (SUSE)
2023-12-06 8:09 ` Johan Hovold
2023-12-07 1:47 ` Greg KH
2023-12-07 8:19 ` Johan Hovold
2023-12-07 10:09 ` Greg KH
2023-12-06 7:37 ` [PATCH 24/27] tty: srmcons: " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 25/27] tty: ttyprintk: " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 26/27] tty: um: convert to u8/__u8 " Jiri Slaby (SUSE)
2023-12-06 7:37 ` [PATCH 27/27] tty: xtensa/iss: use u8 Jiri Slaby (SUSE)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231206073712.17776-1-jirislaby@kernel.org \
--to=jirislaby@kernel.org \
--cc=agordeev@linux.ibm.com \
--cc=amit@kernel.org \
--cc=anton.ivanov@cambridgegreys.com \
--cc=aou@eecs.berkeley.edu \
--cc=arnd@arndb.de \
--cc=borntraeger@linux.ibm.com \
--cc=chris@zankel.net \
--cc=christophe.leroy@csgroup.eu \
--cc=geert@linux-m68k.org \
--cc=gor@linux.ibm.com \
--cc=gregkh@linuxfoundation.org \
--cc=hca@linux.ibm.com \
--cc=ink@jurassic.park.msu.ru \
--cc=isdn@linux-pingi.de \
--cc=jcmvbkbc@gmail.com \
--cc=jens.taprogge@taprogge.org \
--cc=johan.hedberg@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=laurentiu.tudor@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=mattst88@gmail.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=richard.henderson@linaro.org \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=scott.branden@broadcom.com \
--cc=svens@linux.ibm.com \
--cc=ulf.hansson@linaro.org \
--cc=vaibhavgupta40@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox