From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40ACCC433E0 for ; Thu, 21 Jan 2021 19:47:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2F9220888 for ; Thu, 21 Jan 2021 19:47:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726365AbhAUTrr (ORCPT ); Thu, 21 Jan 2021 14:47:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:47950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbhAUToU (ORCPT ); Thu, 21 Jan 2021 14:44:20 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F7E923A3A; Thu, 21 Jan 2021 19:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611258219; bh=1IYwOJbWNQ/Qy6rSjMNeuj0ytyxS9oxyb6oyVJPrVHs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2GHp9uY+0jbMqu2Ql6uf0ogkUL8bjvhyjgF7dbQBE2TrOvneZw2FodxtXOyqerA1T YxdDo9zggjfAfwWZ37q7rL+lSfWIT5uA03YtCt2a+9z/plCiNDYt0wiE2rh1nvx/5C w/If0wafkNPPQicFsYaR88otFPMmvcTMH3wBIAD0= Date: Thu, 21 Jan 2021 20:43:37 +0100 From: Greg Kroah-Hartman To: Linus Torvalds Cc: Jiri Slaby , linux-serial@vger.kernel.org, Christoph Hellwig , Al Viro , Linux Kernel Mailing List , Oliver Giles , Robert Karszniewicz Subject: Re: [PATCH 1/6] tty: implement write_iter Message-ID: References: <20210121090020.3147058-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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