Re: [PATCH 2/6] tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer

From: Linus Torvalds
Date: Thu Jan 21 2021 - 12:49:34 EST


On Thu, Jan 21, 2021 at 3:02 AM Jiri Slaby <jirislaby@xxxxxxxxxx> wrote:
>
> n_hdlc_tty_read will return EOVERFLOW when size is 0, so this EFAULT is
> never propagated, if I am looking correctly? n_tty seems to be fine
> (returns zero for zeroed size).

I'll fix that up too.

Greg - same question - do you want an incremental patch, or just a new series?

Linus