[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024070829-zen-remake-6bfa@gregkh>
Date: Mon, 8 Jul 2024 15:57:49 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Lizhe <sensor1010@....com>
Cc: rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] driver:core: no need to invert the return value of
the call_driver_probe()
On Mon, Jul 08, 2024 at 06:40:28AM -0700, Lizhe wrote:
> If drv->probe() or drv->bus->probe() returns EPROBE_DEFER,
> then there is no need to invert the sign. Similarly,
> if it returns -EPROBE_DEFER, no sign inversion is needed either
>
> In the probe function (either bus->probe() or drv->probe()),
> there is no return value of EPROBE_DEFER.
> v2:
> Delete the judgment with the return value of EPROBEDEFER
> from the _driver_probe.device()
> v1:
> Add the judgment with the return value of EPROBEDEFER
> from the _driver_probe.device()
Versions go below the --- line as the documentation says.
> Signed-off-by: Lizhe <sensor1010@....com>
Full name?
thanks,
greg k-h
Powered by blists - more mailing lists