From: Greg KH <gregkh@linuxfoundation.org>
To: Lizhe <sensor1010@163.com>
Cc: rafael@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] driver:core: no need to invert the return value of the call_driver_probe()
Date: Wed, 10 Jul 2024 14:50:14 +0200 [thread overview]
Message-ID: <2024071007-dimly-jazz-5e1f@gregkh> (raw)
In-Reply-To: <20240709141417.3349-1-sensor1010@163.com>
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@163.com>
>
> v3:
> Modify commit message and versions go below the ---
That didn't happen here :(
prev parent reply other threads:[~2024-07-10 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 14:14 [PATCH v3] driver:core: no need to invert the return value of the call_driver_probe() Lizhe
2024-07-09 14:24 ` Greg KH
2024-07-10 12:50 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2024071007-dimly-jazz-5e1f@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=sensor1010@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.