linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/25] Change tty_port(standard)_install's return type
@ 2018-09-04  2:44 Jaejoong Kim
  2018-09-04  2:44 ` [PATCH 01/25] tty: Change return type to void Jaejoong Kim
                   ` (26 more replies)
  0 siblings, 27 replies; 30+ messages in thread
From: Jaejoong Kim @ 2018-09-04  2:44 UTC (permalink / raw)
  To: linux-um, netdev, linux-mmc, linux-s390, devel, greybus-dev,
	linuxppc-dev, linux-serial, sparclinux, linux-usb,
	linux-bluetooth, linux-kernel
  Cc: Greg Kroah-Hartman, Jiri Slaby

Many drivers with tty use the tty_stand_install(). But, there is no
need to handle the error, since it always returns 0. So, change the
return type of tty_standard_install() and tty_port_install() to void
type and remove unnecessary exception handling where we use these
functions.

Change return type for tty functions. Patch No.01
  tty: Change return type to void

Apply tty_port_install() changes. Patch No.02~14
  isdn: i4l: isdn_tty: Change return type to void
  ...
  Bluetooth: Change return type to void

Apply tty_standard_install() changes. Patch No.15~25
  um: Change return type to void
  ...
  usb: usb-serial: Change return type to void

Jaejoong Kim (25):
  tty: Change return type to void
  isdn: i4l: isdn_tty: Change return type to void
  s390: char: con3215: Change return type to void
  s390: char: tty3270: Change return type to void
  tty: hvc: hvc_console: Change return type to void
  tty: hvc: hvcs: Change return type to void
  tty: mips_ejtag_fdc: Change return type to void
  tty: n_gsm: Change return type to void
  tty: serial: kgdb_nmi: Change return type to void
  tty: synclink: Change return type to void
  tty: synclinkmp: Change return type to void
  tty: vt: Change return type to void
  usb: xhci: dbc: Change return type to void
  Bluetooth: Change return type to void
  um: Change return type to void
  isdn: capi: Change return type to void
  misc: pti: Change return type to void
  mmc: core: sdio_uart: Change return type to void
  staging: fwserial: Change return type to void
  staging: gdm724x: gdm_tty: Change return type to void
  staging: greybus: uart: Change return type to void
  tty: nozomi: Change return type to void
  tty: vcc: Change return type to void
  usb: cdc-acm: Change return type to void
  usb: usb-serial: Change return type to void

 arch/um/drivers/line.c              |  7 +------
 drivers/isdn/capi/capi.c            | 10 ++++------
 drivers/isdn/i4l/isdn_tty.c         |  3 ++-
 drivers/misc/pti.c                  | 28 +++++++++++++---------------
 drivers/mmc/core/sdio_uart.c        | 11 ++++-------
 drivers/s390/char/con3215.c         |  3 ++-
 drivers/s390/char/tty3270.c         |  7 +------
 drivers/staging/fwserial/fwserial.c | 22 ++++++++--------------
 drivers/staging/gdm724x/gdm_tty.c   | 11 +++--------
 drivers/staging/greybus/uart.c      | 10 ++--------
 drivers/tty/hvc/hvc_console.c       |  7 ++-----
 drivers/tty/hvc/hvcs.c              | 10 ++--------
 drivers/tty/mips_ejtag_fdc.c        |  4 +++-
 drivers/tty/n_gsm.c                 |  9 +--------
 drivers/tty/nozomi.c                |  8 +++-----
 drivers/tty/serial/kgdb_nmi.c       | 11 +----------
 drivers/tty/synclink.c              |  3 ++-
 drivers/tty/synclinkmp.c            |  3 ++-
 drivers/tty/tty_io.c                | 10 ++++++----
 drivers/tty/tty_port.c              |  4 ++--
 drivers/tty/vcc.c                   |  5 +----
 drivers/tty/vt/vt.c                 |  5 +----
 drivers/usb/class/cdc-acm.c         | 10 +---------
 drivers/usb/host/xhci-dbgtty.c      |  3 ++-
 drivers/usb/serial/usb-serial.c     |  6 +-----
 include/linux/tty.h                 |  4 ++--
 net/bluetooth/rfcomm/tty.c          |  7 +------
 27 files changed, 73 insertions(+), 148 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-09-12 14:41 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-04  2:44 [PATCH 00/25] Change tty_port(standard)_install's return type Jaejoong Kim
2018-09-04  2:44 ` [PATCH 01/25] tty: Change return type to void Jaejoong Kim
2018-09-04 10:45   ` Sergei Shtylyov
     [not found]     ` <CAL6iAaKzDPe7CMGR8VOBZRsJqZuNB1=zek_YVvwcKnjimbox2g@mail.gmail.com>
2018-09-05  5:57       ` Jiri Slaby
2018-09-04  2:44 ` [PATCH 02/25] isdn: i4l: isdn_tty: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 03/25] s390: char: con3215: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 04/25] s390: char: tty3270: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 05/25] tty: hvc: hvc_console: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 06/25] tty: hvc: hvcs: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 07/25] tty: mips_ejtag_fdc: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 08/25] tty: n_gsm: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 09/25] tty: serial: kgdb_nmi: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 10/25] tty: synclink: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 11/25] tty: synclinkmp: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 12/25] tty: vt: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 13/25] usb: xhci: dbc: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 14/25] Bluetooth: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 15/25] um: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 16/25] isdn: capi: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 17/25] misc: pti: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 18/25] mmc: core: sdio_uart: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 19/25] staging: fwserial: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 20/25] staging: gdm724x: gdm_tty: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 21/25] staging: greybus: uart: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 22/25] tty: nozomi: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 23/25] tty: vcc: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 24/25] usb: cdc-acm: " Jaejoong Kim
2018-09-04  2:44 ` [PATCH 25/25] usb: usb-serial: " Jaejoong Kim
2018-09-04  4:42 ` [PATCH 00/25] Change tty_port(standard)_install's return type Sam Ravnborg
2018-09-12 14:41 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).