diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-08 17:02:04 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2024-02-22 12:19:33 -0700 |
commit | 77943f4d2de0c5fa284013b97967e6c271c04310 (patch) | |
tree | cccef9c8572f861d118062365c2658a38bb3bb03 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 05f3a0bd094c08dce69938306c31b0e39b5f465a (diff) |
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 <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kirti Wankhede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions