Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp9166rdh; Wed, 20 Dec 2023 14:10:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkfdyPQNJyfyLKpQxXJolQKjGYb0A100iFwTRSNJreloQFerozn8xpE1a54oac4X931MOb X-Received: by 2002:a05:6808:21a9:b0:3b9:e13b:642e with SMTP id be41-20020a05680821a900b003b9e13b642emr25269558oib.72.1703110212240; Wed, 20 Dec 2023 14:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703110212; cv=none; d=google.com; s=arc-20160816; b=JLrwOrvQj4TwfmCExzzsHA/8geHZalKcHnuNVbPao03NuGL8MpsQ/kLAdLWoggMkiM 4SyzbkPeo3HImrcgbYixbUf8PO2J7oPixlqVuAF33q+k38C5if9XPXPcGy+iGqExec0U kR/R/ImunvhdTa1ES9AzK36uD2eXQyjv4gAsSdtpDRNN+vMVRhQEjNR7broBZpE2b7mI DzFGKmuXzJnzXjhgeTw027M/70v7tGC5bObobOEqieZd7WTUnrYaK9ifI75ZSoJARgK9 CmMWo1rACtkuOdpzbPqeswGcRF57DeH21lsCjCDdAUa+GntzmFP0cdIaoTcxcve4E/q2 AO7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :cc:to:from:date:dkim-signature; bh=gGhivGWuZJFEJNuLOFHDwrv7/AKHko0IOcoRRvuYkZc=; fh=v65ivVdstZf+Ks41TzGsXL7aZ7FQPQp4nvFt0Z6mzGI=; b=uk+ey6iX2FI5R8QqICUGMny6ZWOO0HOUfarYRb4cj4xXNQvx/71w6expfu1UV9TnOR bhai0J7tsISs4F1uDOxZmLJ2hNP6nKNaq5GHd/NdBqNnD5TnedqMcUmSFeT3ikd/r2SL UgLY/i1vVT76SySMviJ6VZaqo1Znf7UcxdGd0xiaTlib0Um0GNIjOP5hFBaImBRXoWq8 2GANs9fD2Kvfrzv+km5VuzmWUA9MSja9jvotN6I1d1qcRHRBM5qA6snNIxv7ozKCLNVm 2a0wFecJyxykZUMIEHD9wKFvfB5nQmXLPQIwCr3dBRdfkkjoSyhAmr1czH2U/+ZV6A5A pGbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=z06PS5AE; spf=pass (google.com: domain of linux-kernel+bounces-7487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7487-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v5-20020a0c8e05000000b0067ed72c1135si642565qvb.433.2023.12.20.14.10.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:10:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7487-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; dkim=pass header.i=@hugovil.com header.s=x header.b=z06PS5AE; spf=pass (google.com: domain of linux-kernel+bounces-7487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7487-linux.lists.archive=gmail.com@vger.kernel.org" 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 F1EF41C21425 for ; Wed, 20 Dec 2023 22:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8755149F7F; Wed, 20 Dec 2023 22:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="z06PS5AE" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (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 0F1124A984; Wed, 20 Dec 2023 22:10:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Mime-Version:Message-Id:Cc:To:From :Date:subject:date:message-id:reply-to; bh=gGhivGWuZJFEJNuLOFHDwrv7/AKHko0IOcoRRvuYkZc=; b=z06PS5AETwf3oQlBySaanxAS9L 4sr6cQsoOE3JOzjYQtVAv8DATN5g6wM2e3FTP3fYQ2mDi4ak/8FnY6s0JuWp2Mbdf9rCFRf6yzVBi pNhh+eTzlTbL61t5oup9L28FFj0/DWM+KQiASXwTfquptBekYOflxCW3GGxcCsB2C8w4=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:55480 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1rG4lD-0002wK-D5; Wed, 20 Dec 2023 17:09:51 -0500 Date: Wed, 20 Dec 2023 17:09:50 -0500 From: Hugo Villeneuve To: Andy Shevchenko 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 Message-Id: <20231220170950.88980abb0764442d77398675@hugovil.com> In-Reply-To: References: <20231219171903.3530985-1-hugo@hugovil.com> <20231219171903.3530985-4-hugo@hugovil.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_SCC_BODY_TEXT_LINE No description available. * -1.4 NICE_REPLY_A Looks like a legit reply (A) Subject: Re: [PATCH 03/18] serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq() X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) On Wed, 20 Dec 2023 17:41:31 +0200 Andy Shevchenko wrote: > On Tue, Dec 19, 2023 at 12:18:47PM -0500, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > Commit 834449872105 ("sc16is7xx: Fix for multi-channel stall") changed > > sc16is7xx_port_irq() from looping multiple times when there was still > > interrupts to serve. It simply changed the do {} while(1) loop to a > > do {} while(0) loop, which makes the loop itself now obsolete. > > > > Clean the code by removing this obsolete do {} while(0) loop. > > I'm just wondering if you used --histogram diff algo when prepared the patches. > If no, use that by default. Hi, I did not, and effectively it makes the patch easier to follow. I will use it as default from now on. Hugo Villeneuve