Messages in this thread | | | Subject | Re: [PATCH] scsi: constify the struct device_type usage | From | "Martin K. Petersen" <> | Date | Mon, 26 Feb 2024 21:23:16 -0500 |
| |
Ricardo,
> Since commit aed65af1cc2f ("drivers: make device_type const"), the > driver core can properly handle constant struct device_type. Move the > scsi_host_type, scsi_target_type and scsi_dev_type variables to be > constant structures as well, placing it into read-only memory which > can not be modified at runtime.
Applied to 6.9/scsi-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |