Re: [PATCH 2/2] vdpa_sim_net: switch to dynamic root device

From: Jason Wang

Date: Sun Apr 26 2026 - 21:21:08 EST


On Fri, Apr 24, 2026 at 6:47 PM Johan Hovold <johan@xxxxxxxxxx> 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.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks