Re: [PATCH] driver core: fix race between bus_remove_driver() and dev_driver_uevent()

From: Dmitry Torokhov

Date: Sun Nov 22 2026 - 20:26:25 EST


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