[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YUlYjs+lYhPDSHGe@google.com>
Date: Mon, 20 Sep 2021 20:59:10 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Jiri Slaby <jslaby@...e.cz>
Cc: gregkh@...uxfoundation.org, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Peter Ujfalusi <peter.ujfalusi@...il.com>
Subject: Re: [PATCH 04/16] tty: make tty_ldisc_ops::hangup return void
On Tue, Sep 14, 2021 at 11:11:22AM +0200, Jiri Slaby wrote:
> The documentation says that the return value of tty_ldisc_ops::hangup
> hook is ignored. And it really is, so there is no point for its return
> type to be int. Switch it to void and all the hooks too.
>
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
> Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Cc: Wolfgang Grandegger <wg@...ndegger.com>
> Cc: Marc Kleine-Budde <mkl@...gutronix.de>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Liam Girdwood <lgirdwood@...il.com>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.com>
> Cc: Peter Ujfalusi <peter.ujfalusi@...il.com>
> ---
> Documentation/driver-api/serial/tty.rst | 2 +-
> drivers/input/serio/serport.c | 3 +--
Acked-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Thanks.
--
Dmitry
Powered by blists - more mailing lists