diff options
| author | Johan Hovold <johan@kernel.org> | 2026-08-12 16:22:28 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-24 16:45:52 +0200 |
| commit | e87ed6cd8e7b528362e8ecd55a4d0314a58dc21e (patch) | |
| tree | 32d9e94843857579fe7b6773dae4e16542a511c1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f42c8879ebb6dbad07a7af74b02b0ee1c15b42d4 (diff) | |
um: virtio_uml: 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.
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 <johan@kernel.org>
Link: https://patch.msgid.link/20260812142228.55316-1-johan@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
