diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-03 18:39:01 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-02-06 01:57:18 +0000 |
| commit | 824ec98b1b5557ea5f43b2ebc6afee9eab08255e (patch) | |
| tree | e96e56bc8eb074d517b5a98d04eb6618ccea53ce /drivers/scsi/scsi_debug.c | |
| parent | scsi: fcoe: Make fcoe_bus_type const (diff) | |
| download | kernel-824ec98b1b5557ea5f43b2ebc6afee9eab08255e.tar.gz kernel-824ec98b1b5557ea5f43b2ebc6afee9eab08255e.zip | |
scsi: iscsi: Make iscsi_flashnode_bus const
Now that the driver core can properly handle constant struct bus_type, move
the iscsi_flashnode_bus 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: Lee Duncan <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions
