[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFqaF9LhZPke6wEVCqZT0Nx4bBDsf_Qg1knT3UgznrbhpQ@mail.gmail.com>
Date: Wed, 9 Aug 2023 15:41:55 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>,
tonyhuang.sunplus@...il.com, lhjeff911@...il.com, arnd@...db.de,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
error27@...il.com, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next v2 2/2] mmc: sunplus: Fix platform_get_irq() error checking
On Wed, 9 Aug 2023 at 13:51, Dan Carpenter <dan.carpenter@...aro.org> wrote:
>
> On Wed, Aug 09, 2023 at 01:33:51PM +0200, Ulf Hansson wrote:
> > On Wed, 9 Aug 2023 at 09:19, Harshit Mogalapalli
> > <harshit.m.mogalapalli@...cle.com> wrote:
> > >
> > > The platform_get_irq() function returns negative error codes on failure.
> > >
> > > Fixes: 4e268fed8b18 ("mmc: Add mmc driver for Sunplus SP7021")
> > > Reported-by: Dan Carpenter <dan.carpenter@...aro.org>
> > > Closes: https://lore.kernel.org/all/a3829ed3-d827-4b9d-827e-9cc24a3ec3bc@moroto.mountain/
> > > Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
> >
> > Applied for fixes and by adding a stable tag, thanks!
>
> It's not really a fix. The platform_get_irq() function can't actually
> return zero.
>
> I asked Arnd about this and he said that there were some arches where
> zero was a valid IRQ but they're not in the upstream kernel any more and
> we're hopefully not going to do that again.
Alright, I moved this to the next branch and dropped the fixes and stable tags.
Kind regards
Uffe
Powered by blists - more mailing lists