Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp565649rdb; Tue, 19 Sep 2023 04:06:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeNrexqmaCKSwa3r9j9G6k6iNTa3Hyc6TKE22sFig2LwwC6ttiZxzR783Qqrzap2T2NH1D X-Received: by 2002:a17:90b:4a11:b0:26b:49de:13bd with SMTP id kk17-20020a17090b4a1100b0026b49de13bdmr9467138pjb.36.1695121599988; Tue, 19 Sep 2023 04:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695121599; cv=none; d=google.com; s=arc-20160816; b=bZws3+hWUJhB19SfFoZ9doq45+mTgp1UfYPUORB7Mn7hd4fhUy6JaWLIBfJ9jY6Ccc PQk13vjac1PiFA3Pbo6Y7gkpHDZ9nRWmAgTIiRwPqpZ2IqmKVPuti9VD2msLsEac438W XM09dtTw7AQ+pDwytW3Gb6AAp1Ot++tVwP5cuKyA9SnJl33cqXnSE37QA59sG+tiVUfZ wrkvZF2sQ7xhFQixrorC7Nc9bMRBwp5aP1jihRC8CASx67lw4kk74rh2ChTLfMtOzvJB QoXOXXxAnoJFYlXy3AzFKLcOq3He7rdiF1wTEAvQTmAuHgQE2ps/hLeAZSoloa64Xs9S b7tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=ARVAz8nnbc7qFA16A7kD1nlWlDsP5xBa26azosIC9eQ=; fh=TclSlh/LxRgjys28dSUQ4cOOap9nGOmOaFRPjtMWJ0A=; b=wT2KunsQk1Mxy3yH6nwDlAe4ma3V3/DoDHT4chGbwm4IWuLXHJ2g5tv2fC+Ls5HmoY 3xCkzSMYCVg+0JYgZv81ONziOWhivZVJqI1JocbAAJoKHH25xv8UJcYrR5caBYo+Iz8V zHHqHhIr7pjBn5dxrAbUaYm4Pe8X+dwtMVyBaG9DPXBL+OMjOY3S+dSuHYG67QokSdS2 BbP8K4fjNCHlAv0odgXpA0XgpeSkf38tx2fI5FyQkKdsSpTUaOXQuQss9QNobzH9YU1R o4Mfipd30V8BovN+i9u4deGaV0zLRitLZU6Zri0aBJk8eKwiqn8j1Q1FGa59+pw7RWf6 vlvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="mWPD0s/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id gp4-20020a17090adf0400b00276ac140106si631815pjb.165.2023.09.19.04.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="mWPD0s/4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D2A0680697D4; Tue, 19 Sep 2023 03:57:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232017AbjISK5A (ORCPT + 99 others); Tue, 19 Sep 2023 06:57:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232009AbjISK4a (ORCPT ); Tue, 19 Sep 2023 06:56:30 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC8B51993; Tue, 19 Sep 2023 03:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695120814; x=1726656814; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=hro5XC0Qir/jQ6oLOmDsUMk4tbRNJGYIOHO77/8Kzu4=; b=mWPD0s/4ralvNEiJHVs9BZHvnpP0FDmArgnYZwJzQrE8eJE0GMMgYEjt Au8Vk4jF9uTG5SlQpNfPTqja2HW/jHp8mdgsnb633qmJV7Iqp8BTZymmo rODxUSK4T/uvwD6s/1FWCi+TfRngK2N4ZWsNu1du8uC8JFSysphKRSnHN apwF8A6eYAFk3dPgjnMbe5Eik+MeMXXvvbESXERVmEU3pcc5yIs9Gz2U+ xQiCjFbbwt7ClJPFtlOBvgpZw9OQ8XCPLSXRdM3YFmq7PCfGPlsOWt8lZ PbxsVaAf5Y/S4jCptXqr8gBHXNghTkQH/kWHGLZlhwyDVuC90wZaQbILa A==; X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="382660032" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="382660032" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 03:53:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="816398196" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="816398196" Received: from laichele-mobl1.ger.corp.intel.com ([10.252.38.7]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 03:53:31 -0700 Date: Tue, 19 Sep 2023 13:53:30 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Greg Kroah-Hartman cc: "Jiri Slaby (SUSE)" , linux-serial , LKML Subject: Re: [PATCH 00/15] random tty fixes In-Reply-To: <2023091952-civic-balancing-5c50@gregkh> Message-ID: References: <20230919085156.1578-1-jirislaby@kernel.org> <6f7b65a8-bc9c-83d2-13c9-a56d85616b53@linux.intel.com> <2023091952-civic-balancing-5c50@gregkh> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-450182543-1695120813=:1920" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 03:57:05 -0700 (PDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-450182543-1695120813=:1920 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 19 Sep 2023, Greg Kroah-Hartman wrote: > 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 :( Okay, I'll try to avoid it in the future. -- i. --8323329-450182543-1695120813=:1920--