Re: [PATCH] driver core: reject devices with unregistered buses

From: Danilo Krummrich

Date: Wed Apr 29 2026 - 12:18:17 EST


On Wed Apr 29, 2026 at 6:00 PM CEST, Johan Hovold wrote:
> namely that
>
> registration [...] succeeds [but] without the device being
> added to the bus.

[...]

> Perhaps I can add "(i.e. as if it were a bus-less device)" to stress it
> more but I'm not sure it's needed.

I think that would be good, thanks!

Your above quote only vaguely implies that and I think it is pretty hard to
infer that without already being aware of this implication.

It even deserves more emphasis; the current commit message reads as if it's only
about adding an additional warning.

Thanks,
Danilo