Re: [PATCH 1/6] tty: implement write_iter

From: Greg Kroah-Hartman
Date: Thu Jan 21 2021 - 14:47:49 EST


On Thu, Jan 21, 2021 at 10:42:04AM -0800, Linus Torvalds wrote:
> On Thu, Jan 21, 2021 at 9:57 AM Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Incremental patches please as these are already in my public branches
> > and I would have to revert them and add new ones but that's messy, so
> > fixes on top is fine.
>
> Ok. And since I think you put that first tty_write conversion patch in
> a different branch from the tty_read one, I did the fixup patches for
> the two as separate patches, even though they really just do the exact
> same thing.
>
> So here's three patches: the two fixups for the hung_up_tty case, and
> the EOVERFLOW error case that Jiri also noted. I've also updated the
> 'tty-splice' branch if you prefer them that way.

This works, thanks for these. I'll wait for Jiri to review them before
applying them to my branches...

greg k-h