[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbcc6739-e741-495f-85f9-bac104647194@sirena.org.uk>
Date: Wed, 26 Apr 2023 15:13:31 +0100
From: Mark Brown <broonie@...nel.org>
To: Dongliang Mu <dzm91@...t.edu.cn>
Cc: Li Ningke <lnk_01@...t.edu.cn>,
hust-os-kernel-patches@...glegroups.com, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org, Dan Carpenter <error27@...il.com>
Subject: Re: [PATCH] spi: davinci: Remove dead code in `davinci_spi_probe()`
On Wed, Apr 26, 2023 at 09:50:26AM +0800, Dongliang Mu wrote:
> Second, from code review of platform_get_irq / platform_get_irq_optional, it
> would warn IRQ 0 as an invalid IRQ number.
> out:
> if (WARN(!ret, "0 is an invalid IRQ number\n"))
> return -EINVAL;
> return ret;
Like I say I'm not sure that's actually accurate for all architectures
yet.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists