Re: [PATCH] um: virtio_uml: switch to dynamic root device
Johan Hovold <[email protected]> Fri, 12 Jun 2026 17:57:39 +0200
| Newsgroups | gmane.linux.uml.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 24, 2026 at 12:31:01PM +0200, Johan Hovold wrote: > Driver core expects devices to be dynamically allocated and will, for > example, complain loudly when no release function has been provided. > > Use __root_device_register() to allocate and register the root device > instead of open coding using a static device. > > Note that root_device_register(), which also creates a link to the > module, cannot be used as the device is registered when parsing the > module parameters which happens before the module kobject has been > set up. > > Signed-off-by: Johan Hovold <[email protected]> > --- Can this one be picked up now? Johan