Re: [PATCH v2] scsi: Make scsi_bus_type const

From: Martin K. Petersen
Date: Mon Feb 12 2024 - 20:52:18 EST



Ricardo,

> 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.

Applied to 6.9/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering