Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp117447rdb; Wed, 20 Dec 2023 07:42:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZpKWz+NQsqz8jqZ6yCAOESlKcTOzowpndEti80Pucil25LGcIvgLktmgRoKL8jqY69r5c X-Received: by 2002:a05:620a:8397:b0:77f:5ffc:6850 with SMTP id pb23-20020a05620a839700b0077f5ffc6850mr25013993qkn.84.1703086978816; Wed, 20 Dec 2023 07:42:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703086978; cv=none; d=google.com; s=arc-20160816; b=jCy7Jn2TaoZAPCdKDFSOZQKwQuZOCCjcLWTi4ARfx8/RGHg3sf+Y6QVgq/HmHfgdtD op9LO9/4GolSPpLpsMPoJ9P76/BSQMzIIUb6dM4pm0bH/Z9tJES5EbjtsKjUQ4jXd+9D /MmCcRTwp3BEbA4pojVCqy/ycwdoSCjKqjDRPpFqe7BHIFtFnsIMkuSm0T1fWxAn+r51 s54iW3R2qYXM3gUhDHxO2pkQYrVRa8jvcg0voUOvnV6nLAa3LE+4Oxl1GeMo5t0foCus J9KbaxIugri56UgPt1YPMPSe4L7vKmtTA0qtMiwDn13TlufnOG3NcaXnBSR7h1wwD4fq SNcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=1yFBfMgsQmPjme4uiatAPpzA5GcGyWm87gd317bpeRg=; fh=oWFj1HPwiu9zJJ1lym9G4qUj25jFSQwP9xY3cFZv6o8=; b=SJOEYwPXoWGeJlBooP4iCPZcQP9yabIeIMVMGlLTeLkcFHKQ5YnKJFQrf8HvIKgC2G eV8XOZPv2gkA28/1/XzxhTFKDQJXBr5Yh2PH9SEbykmrwOUif4hyqQZpvKPgtiavTPlz YY4VUlY0awORL28eOlnX6cwC2CE54Lq+BY6QhSLYWIlNJJzkLE6SvsbAqm8K7QRAWbyL s2tyhDkwDRkfgEhvk1NlrW5uJdo5yrsyFg2qiG5A8EBKbWXW2M9OO0kwt85R3tnBTiTh A1dhaz2ilpcqpuCATdZml28ielfZ4EEJaEjG7urk1Ren0VacdbDD28N8eWZBGe59/A2f WVsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g8-20020a05620a40c800b00780fbb0f4ebsi4931qko.365.2023.12.20.07.42.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:42:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8001A1C2139E for ; Wed, 20 Dec 2023 15:42:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E36B140BE4; Wed, 20 Dec 2023 15:42:51 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CB2D3FE33; Wed, 20 Dec 2023 15:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="462281547" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="462281547" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:42:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="1107763887" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="1107763887" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:42:46 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rFyiY-00000007aev-3jLs; Wed, 20 Dec 2023 17:42:42 +0200 Date: Wed, 20 Dec 2023 17:42:42 +0200 From: Andy Shevchenko To: Hugo Villeneuve Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, jringle@gridpoint.com, kubakici@wp.pl, phil@raspberrypi.org, bo.svangard@embeddedart.se, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org Subject: Re: [PATCH 04/18] serial: sc16is7xx: improve do/while loop in sc16is7xx_irq() Message-ID: References: <20231219171903.3530985-1-hugo@hugovil.com> <20231219171903.3530985-5-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219171903.3530985-5-hugo@hugovil.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Dec 19, 2023 at 12:18:48PM -0500, Hugo Villeneuve wrote: > From: Hugo Villeneuve > > Simplify and improve readability by replacing while(1) loop with > do {} while, and by using the keep_polling variable as the exit > condition, making it more explicit. ... > + bool keep_polling; > + Stray blank line. Otherwise LGTM. -- With Best Regards, Andy Shevchenko