Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp547459rdb; Tue, 19 Sep 2023 03:28:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHZlGVrmShwCM8HG0xEEdIquJ/G/eFcQIFwRpm44E2vFE3wAJM3dsepsQS0vEF1B263w7n X-Received: by 2002:a05:6a20:4322:b0:133:1d62:dcbd with SMTP id h34-20020a056a20432200b001331d62dcbdmr2392475pzk.28.1695119279697; Tue, 19 Sep 2023 03:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695119279; cv=none; d=google.com; s=arc-20160816; b=e48YFKcVCbFIyKVFq6fxikRZckXy0+FkW7vpRmRVawsQSryi1ljC3X5X8y9ScO1qHd gNl5bWBA9TJ1GHTFw+ERcWWdwEAlW2C9KesRzLx2OEEpDw6GfhzFLPv4PWLib/T7TrBZ y5tmkH5XLDRp4kN4qwO2UEkRdWEKaWtB2WG6lRmz0W87p9WKLE0JYITPGGLZCgtdtgwp meADLvIAAcGKLSJLzbMnrtpohWQBz+9G76et/tYTPh5gK2TFPzNwpEP1Z7MdFjy1tDi3 6584wizMRLir/KOqDJ5rCu321wb9TS9mvVPGggfvssPhnBRLWT0B8QHCqdG4CQ4Mq7uQ urLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eJzD5748wCTeNQLQj+74clmyevbGJzZShFJzelIv7dM=; fh=q7JHxDmyBs37gmh29SQSLeZxiSyLiaieo4DzHhIWwaU=; b=HNlgwSWtOCkOlJ8bm5G3871l505H+nW7SkWtCp7dFB2O5ydIen+wUm5T66yZI21mKI ndU5dvXElgblnqYewDeTKtsap8PZ/t6a3bZJP7wq68UdGcpw80xZbEB/FlvZghJ5LJ+4 I2QJgW12HOBvumruJZmdhmCTgSQen/aHiGWwAMwv6bCBOvexL1AYbFTFL6I3w9xNc+1V wUI8XwWHMxTmFBBi8A6XamNflgTc+AcYZl9XXedAliXkRU1PVxCpf/kugE2hbuvBzMJ7 bTaxcPe9xrVnDvQWiEa2f36TMyXPfvSm9EEL9TPxgCuej/saOhNwoF2Wh6LGfE/JYzWe Ng5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wvvth7Pu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id w23-20020a639357000000b00563e6fd0bf6si9402913pgm.792.2023.09.19.03.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 03:27:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wvvth7Pu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D9AB580B909F; Tue, 19 Sep 2023 03:21:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231499AbjISKVY (ORCPT + 99 others); Tue, 19 Sep 2023 06:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjISKVW (ORCPT ); Tue, 19 Sep 2023 06:21:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F40FF1; Tue, 19 Sep 2023 03:21:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5B08C433C8; Tue, 19 Sep 2023 10:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695118876; bh=00igDQJ3RS0HIHvI61wYlaTY0xMEuzE9VvRZGwxN9C4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wvvth7PuYkG2zqbUuKTwTQeHLYgkMLvVNANfOf736jDLc3XqujVzTKDZRMhMzGOks w8oGLW7cE/1vQoxoBIM3WP5sJp8oJOiET1EsnNCDL3rRaKQSAA3rFFUSAqDqzBbtV/ 94DXhR82m76Gao7hTkhrp215Vmp38OaR5+y7X/d8= Date: Tue, 19 Sep 2023 12:21:13 +0200 From: Greg Kroah-Hartman To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: "Jiri Slaby (SUSE)" , linux-serial , LKML Subject: Re: [PATCH 00/15] random tty fixes Message-ID: <2023091952-civic-balancing-5c50@gregkh> References: <20230919085156.1578-1-jirislaby@kernel.org> <6f7b65a8-bc9c-83d2-13c9-a56d85616b53@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6f7b65a8-bc9c-83d2-13c9-a56d85616b53@linux.intel.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 03:21:30 -0700 (PDT) On Tue, Sep 19, 2023 at 01:17:49PM +0300, Ilpo J?rvinen wrote: > On Tue, 19 Sep 2023, Jiri Slaby (SUSE) wrote: > > > This is a collection of random fixes for tty I did while crawling > > through the code. Mostly done for readability and understandability. No > > behavior change intended (except for Documentation fixes). > > > > Jiri Slaby (SUSE) (15): > > tty: n_tty: use 'retval' instead of 'c' > > tty: n_tty: rename and retype 'retval' in n_tty_ioctl() > > tty: n_tty: use min3() in copy_from_read_buf() > > tty: n_tty: invert the condition in copy_from_read_buf() > > tty: n_tty: use do-while in n_tty_check_{,un}throttle() > > tty: switch tty_{,un}throttle_safe() to return a bool > > tty: invert return values of tty_{,un}throttle_safe() > > tty: fix up and plug in tty_ioctl kernel-doc > > tty: fix kernel-doc for functions in tty.h > > tty: stop using ndash in kernel-doc > > tty: tty_buffer: use bool for 'restart' in > > tty_buffer_unlock_exclusive() > > tty: convert THROTTLE constants into enum > > tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK > > tty: don't check for signal_pending() in send_break() > > tty: use 'if' in send_break() instead of 'goto' > > > > Documentation/driver-api/tty/index.rst | 1 + > > Documentation/driver-api/tty/tty_ioctl.rst | 10 + > > drivers/tty/n_tty.c | 77 ++++--- > > drivers/tty/tty.h | 13 +- > > drivers/tty/tty_buffer.c | 5 +- > > drivers/tty/tty_io.c | 36 ++-- > > drivers/tty/tty_ioctl.c | 234 ++++++++++----------- > > drivers/tty/tty_port.c | 6 +- > > drivers/tty/vt/consolemap.c | 2 +- > > drivers/tty/vt/vc_screen.c | 4 +- > > drivers/tty/vt/vt.c | 4 +- > > include/linux/tty.h | 25 +-- > > 12 files changed, 209 insertions(+), 208 deletions(-) > > create mode 100644 Documentation/driver-api/tty/tty_ioctl.rst > > For this whole series except the patches I commented on: > > Reviewed-by: Ilpo J?rvinen > > ...If you make the amendments I requested, please add the tag also to the > patches I commented on. That's horrible, b4 will now just add this reviewed-by to all of them when I run it :( greg k-h