Re: [PATCH v5 0/3] driver core: add enumeration failure uevent helper

From: Greg KH

Date: Fri Jul 17 2026 - 06:36:06 EST


On Wed, Jul 15, 2026 at 11:40:25AM +0000, Akshay Gujar wrote:
> Hotpluggable buses can detect that a device is physically present, but
> enumeration may still fail early due to protocol-level errors. Today,
> such failures are only reported via kernel log messages, with no
> structured userspace notification.
>
> This series introduces a small, generic helper in the driver core that
> emits a KOBJ_CHANGE uevent when enumeration fails, and wires it into the
> USB hub enumeration failure path as an initial user.
>
> The USB change is intentionally minimal and serves as an initial user of
> the generic helper. Other subsystems may use the helper independently if
> needed.

There are some review comments on the documentation patch here:
https://sashiko.dev/#/patchset/20260715114028.3627807-1-Akshay.Gujar@xxxxxxxxxx
that look correct. This will not be an interface message, but a device
message, right?

And what about the dev_name() issue?

thanks,

greg k-h