lkml.org 
[lkml]   [2024]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: constify the struct device_type usage
Date
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

\
 
 \ /
  Last update: 2024-05-27 15:43    [W:0.555 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site