Re: [PATCH 1/2] vdpa_sim_blk: switch to dynamic root device
From: Jason Wang
Date: Sun Apr 26 2026 - 21:20:36 EST
On Fri, Apr 24, 2026 at 6:48 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