Re: [PATCH] scsi: constify the struct device_type usage

From: Martin K. Petersen
Date: Sun Mar 10 2024 - 19:05:22 EST


On Mon, 19 Feb 2024 08:45:53 -0300, Ricardo B. Marliere wrote:

> 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-queue, thanks!

[1/1] scsi: constify the struct device_type usage
https://git.kernel.org/mkp/scsi/c/517bcc2b4db4

--
Martin K. Petersen Oracle Linux Engineering