diff options
author | 2024-02-08 17:02:04 -0300 | |
---|---|---|
committer | 2024-02-22 12:19:33 -0700 | |
commit | 77943f4d2de0c5fa284013b97967e6c271c04310 (patch) | |
tree | cccef9c8572f861d118062365c2658a38bb3bb03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | MAINTAINERS: Re-alphabetize VFIO (diff) | |
download | wireguard-linux-77943f4d2de0c5fa284013b97967e6c271c04310.tar.xz wireguard-linux-77943f4d2de0c5fa284013b97967e6c271c04310.zip |
vfio: mdev: make mdev_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mdev_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Link: https://lore.kernel.org/r/20240208-bus_cleanup-vfio-v1-1-ed5da3019949@marliere.net
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions