[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-fpga
Subject: Re: [PATCH 2/3] hwmon: Support ADI Fan Control IP
From: "Sa, Nuno" <Nuno.Sa () analog ! com>
Date: 2019-10-09 7:10:29
Message-ID: 1d064ffa4eb0698121eca4862ee4d25e2140e333.camel () analog ! com
[Download RAW message or body]
On Tue, 2019-10-08 at 13:11 -0700, Guenter Roeck wrote:
>
> On Tue, Oct 08, 2019 at 03:59:49PM +0000, Sa, Nuno wrote:
> [ ... ]
> > > > +
> > > > + ctl->irq = platform_get_irq(pdev, 0);
> > > > + if (ctl->irq < 0) {
> > >
> > > This can return -EPROBE_DEFER. On top of that, it already
> > > generates
> > > an error
> > > message, meaning another one here is unnecessary.
> >
> > Why returning -EPROBE_DEFER? platform_get_irq() already seems to
> > handle
> > EPROBE_DEFER...
> >
> ... which is exactly why I am saying that you don't need another
> error
> message, and that an unconditional error message is a bad idea.
>
Ahhh, sorry. I completely misunderstood you :(
Nuno Sá
> Guenter
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic