Re: [PATCH v9 2/3] tty: new helper function tty_get_icount()

From: Pavel Machek
Date: Tue Oct 20 2020 - 08:25:59 EST


On Sun 2020-10-18 22:40:21, Uwe Kleine-König wrote:
> For a given struct tty_struct this yields the corresponding statistics
> about sent and received characters (and some more) which is needed to
> implement an LED trigger for tty devices.
>
> The new function is then used to simplify tty_tiocgicount().
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Reviewed-by: Pavel Machek <pavel@xxxxxx>

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: PGP signature