[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024071007-dimly-jazz-5e1f@gregkh>
Date: Wed, 10 Jul 2024 14:50:14 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Lizhe <sensor1010@....com>
Cc: rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] driver:core: no need to invert the return value of
the call_driver_probe()
On Tue, Jul 09, 2024 at 07:14:17AM -0700, Lizhe wrote:
> In the probe function (either drv->bus->probe() or drv->probe()),
> there is no return value of EPROBE_DEFER. the error return from probe
> should be -EPROBE_DEFER, hence no negation of call_driver_probe()'s
> return is needed, nor should there be an EPROBE_DEFER check in
> driver_probe_device()
>
> Signed-off-by: Lizhe <sensor1010@....com>
>
> v3:
> Modify commit message and versions go below the ---
That didn't happen here :(
Powered by blists - more mailing lists