diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 12:47:03 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 02:17:00 -0400 |
| commit | e13fc46b4dd1e8f8bb913229dc307bf1ce08ea77 (patch) | |
| tree | 22588c3ce3d51c8b0099df72893c73c9dece57e7 /scripts/patch-kernel | |
| parent | 4f3da991b55c940cedb563836fe11ddfb3ff9248 (diff) | |
vdpa_sim_net: 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-3-johan@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
