All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/13] tty.h cleanups
@ 2021-04-08 12:51 Greg Kroah-Hartman
  2021-04-08 12:51 ` [PATCH 01/13] tty: create internal tty.h file Greg Kroah-Hartman
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Greg Kroah-Hartman @ 2021-04-08 12:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Kroah-Hartman, Tetsuo Handa, Jiri Slaby

Turns out there is a lot of tty-internal stuff in include/linux/tty.h
that do not belong there.  Create a internal-to-the-tty-layer .h file
for these types of things and move function prototypes to it instead of
being in the system-wide header file.

Along the way clean up the use of some old tty-only debugging macros and
use the in-kernel dev_*() calls instead.

Greg Kroah-Hartman (13):
  tty: create internal tty.h file
  tty: tty.h: remove tty_info()
  tty: remove tty_err()
  tty: remove tty_notice()
  tty: remove tty_warn()
  tty: remove tty_info_ratelimited()
  tty: remove tty_debug()
  tty: audit: move some local functions out of tty.h
  tty: move some internal tty lock enums and functions out of tty.h
  tty: make tty_release_redirect() static
  tty: move some tty-only functions to drivers/tty/tty.h
  tty: remove tty_driver_name()
  tty: clean include/linux/tty.h up

 drivers/tty/n_gsm.c       |   1 +
 drivers/tty/n_hdlc.c      |   1 +
 drivers/tty/n_tty.c       |   5 +-
 drivers/tty/pty.c         |   3 +-
 drivers/tty/tty.h         | 103 ++++++++++++++++++++++++++++++++++++++
 drivers/tty/tty_audit.c   |   1 +
 drivers/tty/tty_buffer.c  |   2 +-
 drivers/tty/tty_io.c      |  43 +++++++---------
 drivers/tty/tty_ioctl.c   |   3 +-
 drivers/tty/tty_jobctrl.c |   7 +--
 drivers/tty/tty_ldisc.c   |   3 +-
 drivers/tty/tty_mutex.c   |   1 +
 drivers/tty/tty_port.c    |   5 +-
 include/linux/tty.h       | 100 ------------------------------------
 14 files changed, 142 insertions(+), 136 deletions(-)
 create mode 100644 drivers/tty/tty.h

-- 
2.31.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2021-04-15 15:15 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 12:51 [PATCH 00/13] tty.h cleanups Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 01/13] tty: create internal tty.h file Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 02/13] tty: tty.h: remove tty_info() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 03/13] tty: remove tty_err() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 04/13] tty: remove tty_notice() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 05/13] tty: remove tty_warn() Greg Kroah-Hartman
2021-04-08 13:47   ` Tetsuo Handa
2021-04-08 18:03     ` Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 06/13] tty: remove tty_info_ratelimited() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 07/13] tty: remove tty_debug() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 08/13] tty: audit: move some local functions out of tty.h Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 09/13] tty: move some internal tty lock enums and " Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 10/13] tty: make tty_release_redirect() static Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 11/13] tty: move some tty-only functions to drivers/tty/tty.h Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 12/13] tty: remove tty_driver_name() Greg Kroah-Hartman
2021-04-08 12:51 ` [PATCH 13/13] tty: clean include/linux/tty.h up Greg Kroah-Hartman
2021-04-08 17:51   ` Greg Kroah-Hartman
2021-04-08 14:25 ` [PATCH 00/13] tty.h cleanups Johan Hovold
2021-04-08 18:01   ` Greg Kroah-Hartman
2021-04-09  7:32     ` Johan Hovold
2021-04-15  8:21       ` Greg Kroah-Hartman
2021-04-15 14:14         ` Johan Hovold
2021-04-15 14:53           ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.