diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 13:47:02 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:16:59 +0300 |
| commit | 4f3da991b55c940cedb563836fe11ddfb3ff9248 (patch) | |
| tree | 4dc03304ba6e2f5d3c4fc3d77414d817fd69e609 /include/linux/node.h | |
| parent | 7cdaeef19bc87bb93f3083b11dda92e3e9ff855c (diff) | |
| download | linux-4f3da991b55c940cedb563836fe11ddfb3ff9248.tar.xz | |
vdpa_sim_blk: switch to dynamic root device
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@kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260424104703.2619093-2-johan@kernel.org>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions
