diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-08 16:41:46 -0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-02-08 14:59:47 -0600 |
commit | 7adf6ac8521e2102d1d0f970c532e1bb91e1d096 (patch) | |
tree | 359ae71f79bf0b50f2dc1fc08a89453c5aab3fb6 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
PCI: Make pcie_port_bus_type const
Now that the driver core can properly handle constant struct bus_type, move
the pcie_port_bus_type variable to be a constant structure as well, placing
it into read-only memory which can not be modified at runtime.
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions