From: "Danilo Krummrich" <dakr@kernel.org>
To: "Gui-Dong Han" <hanguidong02@gmail.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
<gregkh@linuxfoundation.org>, <linux-kernel@vger.kernel.org>,
<baijiaju1990@gmail.com>, "Qiu-ji Chen" <chenqiuji666@gmail.com>
Subject: Re: [PATCH v4] driver core: enforce device_lock for driver_match_device()
Date: Tue, 13 Jan 2026 16:58:10 +0100 [thread overview]
Message-ID: <DFNL334CM540.32WA2HUXF185J@kernel.org> (raw)
In-Reply-To: <CALbr=Lb=raC7gN5CE6XTBOqRCcEJ8Uo_xis7RGukm4j5cRuzLA@mail.gmail.com>
On Tue Jan 13, 2026 at 4:55 PM CET, Gui-Dong Han wrote:
> The three call sites for driver_match_device() have been stable for
> over a decade. With only two sites requiring the lock, and no new
> callers anticipated, adding a helper function seems to have limited
> value.
On the other hand, driver_match_device() and driver_match_device_locked() makes
things very clear. :)
next prev parent reply other threads:[~2026-01-13 15:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 15:04 Gui-Dong Han
2026-01-13 15:20 ` Rafael J. Wysocki
2026-01-13 15:55 ` Gui-Dong Han
2026-01-13 15:58 ` Danilo Krummrich [this message]
2026-01-13 16:02 ` Rafael J. Wysocki
2026-01-13 16:32 ` Gui-Dong Han
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=DFNL334CM540.32WA2HUXF185J@kernel.org \
--to=dakr@kernel.org \
--cc=baijiaju1990@gmail.com \
--cc=chenqiuji666@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hanguidong02@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®