linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Peter Hurley <peter@hurleysoftware.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.cz>,
	linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH v2 8/9] tty: Use termios c_*flag macros
Date: Tue, 19 Jan 2016 15:38:41 +0100	[thread overview]
Message-ID: <20160119143841.GC12069@localhost> (raw)
In-Reply-To: <1452486976-7594-9-git-send-email-peter@hurleysoftware.com>

On Sun, Jan 10, 2016 at 08:36:15PM -0800, Peter Hurley wrote:
> Expressions of the form "tty->termios.c_*flag & FLAG"
> are more clearly expressed with the termios flags macros,
> I_FLAG(), C_FLAG(), O_FLAG(), and L_FLAG().
> 
> Convert treewide.
> 
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
> ---
>  drivers/char/pcmcia/synclink_cs.c    | 21 ++++++++-------------
>  drivers/mmc/card/sdio_uart.c         | 14 +++++++-------
>  drivers/staging/dgap/dgap.c          |  2 +-
>  drivers/staging/dgnc/dgnc_tty.c      |  2 +-
>  drivers/tty/amiserial.c              | 22 ++++++++--------------
>  drivers/tty/cyclades.c               | 14 ++++++--------
>  drivers/tty/isicom.c                 |  3 +--
>  drivers/tty/mxser.c                  | 10 ++++------
>  drivers/tty/n_gsm.c                  |  6 +++---
>  drivers/tty/pty.c                    |  3 +--
>  drivers/tty/rocket.c                 |  8 ++++----
>  drivers/tty/serial/68328serial.c     |  4 +---
>  drivers/tty/serial/crisv10.c         | 18 +++++++-----------
>  drivers/tty/serial/jsm/jsm_tty.c     |  3 +--
>  drivers/tty/serial/serial_core.c     | 20 +++++++++-----------
>  drivers/tty/synclink.c               | 23 +++++++++--------------
>  drivers/tty/synclink_gt.c            | 19 +++++++------------
>  drivers/tty/synclinkmp.c             | 19 +++++++------------
>  drivers/tty/tty_ioctl.c              | 12 ++++++------
>  drivers/tty/tty_port.c               |  2 +-
>  drivers/usb/serial/cypress_m8.c      |  3 +--
>  drivers/usb/serial/digi_acceleport.c |  8 ++++----
>  drivers/usb/serial/io_edgeport.c     |  4 ++--
>  drivers/usb/serial/mct_u232.c        |  2 +-
>  drivers/usb/serial/mos7720.c         |  4 ++--
>  drivers/usb/serial/mos7840.c         |  4 ++--

For usb-serial

Acked-by: Johan Hovold <johan@kernel.org>

>  net/irda/ircomm/ircomm_tty.c         | 11 +++++------
>  net/irda/ircomm/ircomm_tty_ioctl.c   | 13 ++++---------
>  28 files changed, 113 insertions(+), 161 deletions(-)

Thanks,
Johan

  reply	other threads:[~2016-01-19 14:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11  4:36 [PATCH v2 0/9] Misc tty fixes & cleanups Peter Hurley
2016-01-11  4:36 ` [PATCH v2 1/9] tty: rocket: Remove private close_wait Peter Hurley
2016-01-11  4:36 ` [PATCH v2 2/9] n_tty: Ignore all read data when closing Peter Hurley
2016-01-11  4:36 ` [PATCH v2 3/9] ia64: Pin controlling tty for unaligned fault message Peter Hurley
2016-01-11  4:36 ` [PATCH v2 4/9] staging: dgap: Remove redundant write_wait wakeups Peter Hurley
2016-01-11  4:36 ` [PATCH v2 5/9] tty: Fix GPF in flush_to_ldisc(), part 2 Peter Hurley
2016-01-11  4:36 ` [PATCH v2 6/9] tty: Unify receive_buf() code paths Peter Hurley
2016-01-11  4:36 ` [PATCH v2 7/9] tty: Allow unreadable mess to be > 80 chars Peter Hurley
2016-01-11  4:36 ` [PATCH v2 8/9] tty: Use termios c_*flag macros Peter Hurley
2016-01-19 14:38   ` Johan Hovold [this message]
2016-01-11  4:36 ` [PATCH v2 9/9] tty: Use test_bit() with tty->flags Peter Hurley
2016-01-28 22:13   ` Greg Kroah-Hartman
2016-01-28 22:19     ` Peter Hurley
2016-01-28 22:22       ` Greg Kroah-Hartman
2016-04-10  0:06         ` [PATCH] tty: Replace TTY_IO_ERROR bit tests with tty_io_error() Peter Hurley

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=20160119143841.GC12069@localhost \
    --to=johan@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=peter@hurleysoftware.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;
as well as URLs for NNTP newsgroup(s).