[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231220170950.88980abb0764442d77398675@hugovil.com>
Date: Wed, 20 Dec 2023 17:09:50 -0500
From: Hugo Villeneuve <hugo@...ovil.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org, jringle@...dpoint.com,
kubakici@...pl, phil@...pberrypi.org, bo.svangard@...eddedart.se,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org, Hugo Villeneuve
<hvilleneuve@...onoff.com>, stable@...r.kernel.org
Subject: Re: [PATCH 03/18] serial: sc16is7xx: remove obsolete loop in
sc16is7xx_port_irq()
On Wed, 20 Dec 2023 17:41:31 +0200
Andy Shevchenko <andy.shevchenko@...il.com> wrote:
> On Tue, Dec 19, 2023 at 12:18:47PM -0500, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@...onoff.com>
> >
> > 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
Powered by blists - more mailing lists