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

From: Greg Kroah-Hartman
Date: Thu Jan 21 2021 - 13:00:50 EST


On Thu, Jan 21, 2021 at 09:46:58AM -0800, Linus Torvalds wrote:
> 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?

Incremental is best, thanks!