From: Jiri Slaby <jslaby@suse.cz>
To: gregkh@linuxfoundation.org
Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
Jiri Slaby <jslaby@suse.cz>
Subject: [PATCH 00/35] tty cleanup for 5.14
Date: Wed, 5 May 2021 11:18:53 +0200 [thread overview]
Message-ID: <20210505091928.22010-1-jslaby@suse.cz> (raw)
Hi,
this is again a series of various TTY cleanups. The stats say: 116 files
changed, 661 insertions, 2602 deletions. The major part of the removal
is a drop of BROKEN r3964 ldisc. The rest is mostly removal of dead
code, or adaption to the current tty core state.
Jiri Slaby (35):
tty: remove broken r3964 line discipline
n_tty: remove n_tty_receive_char wrapper
n_tty: remove n_tty_receive_char_fast
n_tty: drop n_tty_receive_buf_fast
n_tty: drop parmrk_dbl from n_tty_receive_char
n_tty: move lnext handling
n_tty: make n_tty_receive_char_special return void
n_tty: do only one cp dereference in n_tty_receive_buf_standard
n_tty: invert TTY_NORMAL condition in n_tty_receive_buf_standard
n_tty: remove superfluous return from n_tty_receive_signal_char
tty: make fp of tty_ldisc_ops::receive_buf{,2} const
tty: cumulate and document tty_struct::flow* members
tty: cumulate and document tty_struct::ctrl* members
tty: set tty_ldisc_ops::num statically
n_gsm: use goto-failpaths in gsm_init
tty: make tty_ldisc_ops a param in tty_unregister_ldisc
tty: drop tty_ldisc_ops::refcount
tty: no checking of tty_unregister_ldisc
tty: return void from tty_unregister_ldisc
ti-st: use goto-failpath in st_core_init
ti-st: use tty_write_room
tty: make tty_operations::write_room return uint
USB: serial: make usb_serial_driver::write_room return uint
tty: make tty_buffer_space_avail return uint
tty: remove tty_operations::chars_in_buffer for non-buffering
tty: make tty_operations::chars_in_buffer return uint
serial: make usb_serial_driver::chars_in_buffer return uint
nozomi: simplify ntty_chars_in_buffer
USB: serial: digi_acceleport, simplify digi_chars_in_buffer
tty: remove empty tty_operations::flush_buffer
tty: remove empty tty_operations::set_termios
isdn: capi, remove optional tty ops
isdn: capi, drop useless pr_debugs
tty: make tty_get_byte_size available
tty: make use of tty_get_byte_size
Documentation/networking/caif/caif.rst | 4 +-
arch/alpha/kernel/srmcons.c | 9 +-
arch/m68k/emu/nfcon.c | 2 +-
arch/parisc/kernel/pdc_cons.c | 8 +-
arch/powerpc/configs/ppc6xx_defconfig | 1 -
arch/um/drivers/line.c | 15 +-
arch/um/drivers/line.h | 5 +-
arch/um/drivers/ssl.c | 1 -
arch/um/drivers/stdio_console.c | 1 -
arch/xtensa/platforms/iss/console.c | 9 +-
drivers/accessibility/speakup/spk_ttyio.c | 9 +-
drivers/bluetooth/hci_ldisc.c | 12 +-
drivers/char/Kconfig | 13 -
drivers/char/pcmcia/synclink_cs.c | 24 +-
drivers/char/ttyprintk.c | 2 +-
drivers/input/serio/serport.c | 8 +-
drivers/ipack/devices/ipoctal.c | 4 +-
drivers/isdn/capi/capi.c | 40 +-
drivers/misc/bcm-vk/bcm_vk_tty.c | 2 +-
drivers/misc/ti-st/st_core.c | 30 +-
drivers/mmc/core/sdio_uart.c | 6 +-
drivers/net/caif/caif_serial.c | 13 +-
drivers/net/can/slcan.c | 10 +-
drivers/net/hamradio/6pack.c | 14 +-
drivers/net/hamradio/mkiss.c | 13 +-
drivers/net/ppp/ppp_async.c | 12 +-
drivers/net/ppp/ppp_synctty.c | 12 +-
drivers/net/slip/slip.c | 9 +-
drivers/net/usb/hso.c | 8 +-
drivers/pps/clients/pps-ldisc.c | 11 +-
drivers/s390/char/con3215.c | 4 +-
drivers/s390/char/sclp_rw.c | 4 +-
drivers/s390/char/sclp_rw.h | 2 +-
drivers/s390/char/sclp_tty.c | 9 +-
drivers/s390/char/sclp_vt220.c | 9 +-
drivers/s390/char/tty3270.c | 22 +-
drivers/staging/fwserial/fwserial.c | 14 +-
drivers/staging/gdm724x/gdm_tty.c | 2 +-
drivers/staging/greybus/uart.c | 22 +-
drivers/tty/Makefile | 1 -
drivers/tty/amiserial.c | 12 +-
drivers/tty/ehv_bytechan.c | 4 +-
drivers/tty/goldfish.c | 4 +-
drivers/tty/hvc/hvc_console.c | 4 +-
drivers/tty/hvc/hvcs.c | 4 +-
drivers/tty/hvc/hvsi.c | 6 +-
drivers/tty/ipwireless/tty.c | 4 +-
drivers/tty/mips_ejtag_fdc.c | 8 +-
drivers/tty/moxa.c | 22 +-
drivers/tty/mxser.c | 16 +-
drivers/tty/n_gsm.c | 28 +-
drivers/tty/n_hdlc.c | 14 +-
drivers/tty/n_null.c | 7 +-
drivers/tty/n_r3964.c | 1283 -------------------
drivers/tty/n_tty.c | 201 +--
drivers/tty/nozomi.c | 17 +-
drivers/tty/pty.c | 85 +-
drivers/tty/serial/8250/8250_aspeed_vuart.c | 4 +-
drivers/tty/serial/arc_uart.c | 2 +-
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 19 +-
drivers/tty/serial/dz.c | 2 +-
drivers/tty/serial/kgdb_nmi.c | 2 +-
drivers/tty/serial/mxs-auart.c | 18 +-
drivers/tty/serial/qcom_geni_serial.c | 16 +-
drivers/tty/serial/serial_core.c | 38 +-
drivers/tty/serial/sh-sci.c | 20 +-
drivers/tty/serial/stm32-usart.c | 32 +-
drivers/tty/synclink_gt.c | 27 +-
drivers/tty/tty_buffer.c | 6 +-
drivers/tty/tty_io.c | 68 +-
drivers/tty/tty_ioctl.c | 61 +-
drivers/tty/tty_jobctrl.c | 84 +-
drivers/tty/tty_ldisc.c | 26 +-
drivers/tty/tty_port.c | 2 +-
drivers/tty/ttynull.c | 2 +-
drivers/tty/vcc.c | 8 +-
drivers/tty/vt/keyboard.c | 2 +-
drivers/tty/vt/vt.c | 18 +-
drivers/usb/class/cdc-acm.c | 21 +-
drivers/usb/gadget/function/u_serial.c | 12 +-
drivers/usb/host/xhci-dbgtty.c | 8 +-
drivers/usb/serial/belkin_sa.c | 21 +-
drivers/usb/serial/cyberjack.c | 4 +-
drivers/usb/serial/cypress_m8.c | 35 +-
drivers/usb/serial/digi_acceleport.c | 19 +-
drivers/usb/serial/garmin_gps.c | 2 +-
drivers/usb/serial/generic.c | 12 +-
drivers/usb/serial/io_edgeport.c | 12 +-
drivers/usb/serial/io_ti.c | 12 +-
drivers/usb/serial/ir-usb.c | 6 +-
drivers/usb/serial/keyspan.c | 4 +-
drivers/usb/serial/kobil_sct.c | 4 +-
drivers/usb/serial/mos7720.c | 12 +-
drivers/usb/serial/mos7840.c | 13 +-
drivers/usb/serial/opticon.c | 6 +-
drivers/usb/serial/oti6858.c | 12 +-
drivers/usb/serial/pl2303.c | 15 +-
drivers/usb/serial/quatech2.c | 4 +-
drivers/usb/serial/sierra.c | 8 +-
drivers/usb/serial/ti_usb_3410_5052.c | 16 +-
drivers/usb/serial/usb-serial.c | 4 +-
drivers/usb/serial/usb-wwan.h | 4 +-
drivers/usb/serial/usb_wwan.c | 12 +-
drivers/usb/serial/whiteheat.c | 9 +-
include/linux/n_r3964.h | 175 ---
include/linux/serial_core.h | 2 +-
include/linux/tty.h | 76 +-
include/linux/tty_driver.h | 10 +-
include/linux/tty_flip.h | 2 +-
include/linux/tty_ldisc.h | 6 +-
include/linux/usb/serial.h | 8 +-
include/uapi/linux/n_r3964.h | 99 --
net/bluetooth/rfcomm/tty.c | 4 +-
net/nfc/nci/uart.c | 7 +-
sound/soc/codecs/cx20442.c | 4 +-
sound/soc/ti/ams-delta.c | 11 +-
116 files changed, 661 insertions(+), 2602 deletions(-)
delete mode 100644 drivers/tty/n_r3964.c
delete mode 100644 include/linux/n_r3964.h
delete mode 100644 include/uapi/linux/n_r3964.h
--
2.31.1
next reply other threads:[~2021-05-05 9:19 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 9:18 Jiri Slaby [this message]
2021-05-05 9:18 ` [PATCH 01/35] tty: remove broken r3964 line discipline Jiri Slaby
2021-05-05 9:26 ` Greg KH
2021-05-05 9:18 ` [PATCH 02/35] n_tty: remove n_tty_receive_char wrapper Jiri Slaby
2021-05-05 9:18 ` [PATCH 03/35] n_tty: remove n_tty_receive_char_fast Jiri Slaby
2021-05-05 9:18 ` [PATCH 04/35] n_tty: drop n_tty_receive_buf_fast Jiri Slaby
2021-05-05 9:18 ` [PATCH 05/35] n_tty: drop parmrk_dbl from n_tty_receive_char Jiri Slaby
2021-05-05 9:18 ` [PATCH 06/35] n_tty: move lnext handling Jiri Slaby
2021-05-05 9:19 ` [PATCH 07/35] n_tty: make n_tty_receive_char_special return void Jiri Slaby
2021-05-05 9:19 ` [PATCH 08/35] n_tty: do only one cp dereference in n_tty_receive_buf_standard Jiri Slaby
2021-05-05 9:19 ` [PATCH 09/35] n_tty: invert TTY_NORMAL condition " Jiri Slaby
2021-05-05 9:19 ` [PATCH 10/35] n_tty: remove superfluous return from n_tty_receive_signal_char Jiri Slaby
2021-05-05 9:19 ` [PATCH 11/35] tty: make fp of tty_ldisc_ops::receive_buf{,2} const Jiri Slaby
2021-05-05 9:19 ` [PATCH 12/35] tty: cumulate and document tty_struct::flow* members Jiri Slaby
2021-05-05 9:19 ` [PATCH 13/35] tty: cumulate and document tty_struct::ctrl* members Jiri Slaby
2021-05-05 9:19 ` [PATCH 14/35] tty: set tty_ldisc_ops::num statically Jiri Slaby
2021-05-05 9:19 ` [PATCH 15/35] n_gsm: use goto-failpaths in gsm_init Jiri Slaby
2021-05-05 9:19 ` [PATCH 16/35] tty: make tty_ldisc_ops a param in tty_unregister_ldisc Jiri Slaby
2021-05-05 9:19 ` [PATCH 17/35] tty: drop tty_ldisc_ops::refcount Jiri Slaby
2021-05-05 9:19 ` [PATCH 18/35] tty: no checking of tty_unregister_ldisc Jiri Slaby
2021-05-05 9:19 ` [PATCH 19/35] tty: return void from tty_unregister_ldisc Jiri Slaby
2021-05-05 9:19 ` [PATCH 20/35] ti-st: use goto-failpath in st_core_init Jiri Slaby
2021-05-05 9:19 ` [PATCH 21/35] ti-st: use tty_write_room Jiri Slaby
2021-05-05 9:19 ` [PATCH 22/35] tty: make tty_operations::write_room return uint Jiri Slaby
2021-05-05 9:25 ` Geert Uytterhoeven
2021-05-05 10:34 ` Anton Ivanov
2021-05-05 10:43 ` David Sterba
2021-05-05 11:53 ` Max Filippov
2021-05-05 12:15 ` Alex Elder
2021-05-10 11:27 ` Laurentiu Tudor
2021-05-05 9:19 ` [PATCH 23/35] USB: serial: make usb_serial_driver::write_room " Jiri Slaby
2021-05-19 9:07 ` Johan Hovold
2021-05-05 9:19 ` [PATCH 24/35] tty: make tty_buffer_space_avail " Jiri Slaby
2021-05-05 9:19 ` [PATCH 25/35] tty: remove tty_operations::chars_in_buffer for non-buffering Jiri Slaby
2021-05-05 11:51 ` Max Filippov
2021-05-06 5:47 ` Jiri Slaby
2021-05-06 5:56 ` Greg KH
2021-05-05 9:19 ` [PATCH 26/35] tty: make tty_operations::chars_in_buffer return uint Jiri Slaby
2021-05-05 10:34 ` Anton Ivanov
2021-05-05 10:43 ` David Sterba
2021-05-05 9:19 ` [PATCH 27/35] serial: make usb_serial_driver::chars_in_buffer " Jiri Slaby
2021-05-19 9:09 ` Johan Hovold
2021-05-05 9:19 ` [PATCH 28/35] nozomi: simplify ntty_chars_in_buffer Jiri Slaby
2021-05-05 9:19 ` [PATCH 29/35] USB: serial: digi_acceleport, simplify digi_chars_in_buffer Jiri Slaby
2021-05-19 9:11 ` Johan Hovold
2021-05-05 9:19 ` [PATCH 30/35] tty: remove empty tty_operations::flush_buffer Jiri Slaby
2021-05-05 9:19 ` [PATCH 31/35] tty: remove empty tty_operations::set_termios Jiri Slaby
2021-05-05 10:34 ` Anton Ivanov
2021-05-05 9:19 ` [PATCH 32/35] isdn: capi, remove optional tty ops Jiri Slaby
2021-05-05 9:19 ` [PATCH 33/35] isdn: capi, drop useless pr_debugs Jiri Slaby
2021-05-05 9:19 ` [PATCH 34/35] tty: make tty_get_byte_size available Jiri Slaby
2021-05-06 7:16 ` Joe Perches
2021-05-06 7:19 ` Jiri Slaby
[not found] ` <CAHp75Vfq6ABW7ukwaKmZOF2DszmuHD28S=wcLcFowvRdXTnWmg@mail.gmail.com>
2021-05-06 8:31 ` Jiri Slaby
2021-05-06 9:33 ` Andy Shevchenko
2021-05-06 8:35 ` Joe Perches
2021-05-10 7:00 ` [PATCH v2 " Jiri Slaby
2021-05-10 9:47 ` Johan Hovold
2021-05-13 7:24 ` Jiri Slaby
2021-05-13 9:41 ` Johan Hovold
2021-05-05 9:19 ` [PATCH 35/35] tty: make use of tty_get_byte_size Jiri Slaby
2021-05-10 9:59 ` Johan Hovold
2021-05-13 15:04 ` [PATCH 00/35] tty cleanup for 5.14 Greg KH
2021-05-13 16:20 ` Johan Hovold
2021-05-13 16:29 ` Greg KH
2021-05-14 8:11 ` Johan Hovold
2021-06-10 9:02 ` [PATCH v3 1/4] tty: make tty_get_{char,frame}_size available Jiri Slaby
2021-06-10 9:02 ` [PATCH v3 2/4] mxs-auart: redefine AUART_LINECTRL_WLEN to accept bits count Jiri Slaby
2021-06-10 9:02 ` [PATCH v3 3/4] cypress_m8: switch data_bits to real character bits Jiri Slaby
2021-06-10 9:02 ` [PATCH v3 4/4] tty: make use of tty_get_{char,frame}_size Jiri Slaby
2021-06-10 15:15 ` Alex Elder
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=20210505091928.22010-1-jslaby@suse.cz \
--to=jslaby@suse.cz \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/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
all inboxes | Powered by JetHome®