From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Danilo Krummrich <dakr@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
driver-core@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] driver core: fix race between bus_remove_driver() and dev_driver_uevent()
Date: Sun, 22 Nov 2026 17:26:19 -0800 [thread overview]
Message-ID: <56aba0ed09b774b822028d773c03c4c6@gmail.com> (raw)
In-Reply-To: <DMMWDTG48CAN.LHRVFXXDY5YV@kernel.org>
Hi Danilo,
On Thu, Nov 05, 2026 at 02:48:33AM +0100, Danilo Krummrich wrote:
> On Thu Nov 5, 2026 at 2:21 AM CET, Dmitry Torokhov wrote:
> > Just a gentle ping on this patch. Could it be picked up, or would you
> > prefer a plain spin_lock()/spin_unlock() pair instead of the empty
> > scoped_guard() block?
>
> Personally I like the scoped_guard(), but to me either is fine.
>
> But I'd consider updating the comment above dev_driver_uevent() accordingly,
Sounds good, I sent out v2 with the updated comment.
Thanks.
--
Dmitry
prev parent reply other threads:[~2026-11-23 1:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 3:24 [PATCH] driver core: fix race between bus_remove_driver() and dev_driver_uevent() Dmitry Torokhov
2026-10-14 5:31 ` Greg Kroah-Hartman
2026-10-14 6:11 ` Dmitry Torokhov
2026-10-14 12:16 ` Greg Kroah-Hartman
2026-11-05 1:21 ` Dmitry Torokhov
2026-11-05 1:48 ` Danilo Krummrich
2026-11-23 1:26 ` Dmitry Torokhov [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=56aba0ed09b774b822028d773c03c4c6@gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=dakr@kernel.org \
--cc=driver-core@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@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 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.