Re: [PATCH v3] driver:core: no need to invert the return value of the call_driver_probe()
From: Greg KH
Date: Wed Jul 10 2024 - 08:50:25 EST
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@xxxxxxx>
>
> v3:
> Modify commit message and versions go below the ---
That didn't happen here :(