[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200316083800.GB8524@lunn.ch>
Date: Mon, 16 Mar 2020 09:38:00 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Chris Packham <Chris.Packham@...iedtelesis.co.nz>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"josua@...id-run.com" <josua@...id-run.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] net: mvmdio: avoid error message for optional IRQ
> Actually on closer inspection I think this is wrong.
> platform_get_irq_optional() will return -ENXIO if the irq is not
> specified.
The _optional is then pointless. And different to all the other
_optional functions which don't return an error if the property is not
defined.
Are you really sure about this? I don't have the time right now to
check.
Andrew
Powered by blists - more mailing lists