aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-04 16:07:11 +0000
committerDave Jiang <[email protected]>2024-02-12 22:10:21 +0000
commitbc22374c96d959084bea1287cfc6ea0fd9ca4e40 (patch)
tree1468bb75fd384e349d01ed5d3eaa9b95c8700a37 /net/switchdev/switchdev.c
parentnvdimm: make nvdimm_bus_type const (diff)
downloadkernel-bc22374c96d959084bea1287cfc6ea0fd9ca4e40.tar.gz
kernel-bc22374c96d959084bea1287cfc6ea0fd9ca4e40.zip
device-dax: make dax_bus_type const
Now that the driver core can properly handle constant struct bus_type, move the dax_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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions