Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312028 > unrolled thread

Re: [PATCH v2 05/10] tty: Fix tty_init_termios() declaration

Started byJohan Hovold <johan@kernel.org>
First post2016-01-19 10:20 +0100
Last post2016-01-19 10:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 05/10] tty: Fix tty_init_termios() declaration Johan Hovold <johan@kernel.org> - 2016-01-19 10:20 +0100

#1312028 — Re: [PATCH v2 05/10] tty: Fix tty_init_termios() declaration

FromJohan Hovold <johan@kernel.org>
Date2016-01-19 10:20 +0100
SubjectRe: [PATCH v2 05/10] tty: Fix tty_init_termios() declaration
Message-ID<qSACd-5IF-1@gated-at.bofh.it>
On Sat, Jan 09, 2016 at 09:13:48PM -0800, Peter Hurley wrote:
> tty_init_termios() never returns an error; re-declare as void. Remove
> unnecessary error handling from callers. Remove extern declarations
> of tty_free_termios() and free_tty_struct() and re-declare in file
> scope.
> 
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
> ---
>  drivers/tty/pty.c            | 15 +++------------
>  drivers/tty/tty_io.c         | 13 ++++---------
>  drivers/usb/serial/console.c |  6 +-----

For the usb-serial bits

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

Thanks,
Johan

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web