diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-12 18:38:37 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-02-13 01:47:23 +0000 |
| commit | a0bcad233fd6a4cdd14441d7cc27b28475721fe8 (patch) | |
| tree | 15f2290e94b967a1c224d823da185026d7af8452 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | scsi: core: Really include kunit tests with SCSI_LIB_KUNIT_TEST (diff) | |
| download | kernel-a0bcad233fd6a4cdd14441d7cc27b28475721fe8.tar.gz kernel-a0bcad233fd6a4cdd14441d7cc27b28475721fe8.zip | |
scsi: core: Make scsi_bus_type const
Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type a
const *"), the driver core can properly handle constant struct bus_type,
move the scsi_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]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
