Centos-kernel-stream-9/drivers/scsi/megaraid
John Meneghini bc8305bc56 scsi: Constify struct pci_device_id
JIRA: https://issues.redhat.com/browse/RHEL-72637

Conflicts: resolved conflict in qla_os.c
	due to commit 344ae03f7e
	("qla2xxx: Remove PCI IDs of deprecated adapter")

'struct pci_device_id' is not modified in these drivers.

Constifying this structure moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  70237	   9137	    320	  79694	  1374e	drivers/scsi/3w-9xxx.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  70461	   8913	    320	  79694	  1374e	drivers/scsi/3w-9xxx.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/fc61b1946488c1ea8f7a17a06cf40fbd05dcc6de.1733590049.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit c9a71ca13f71bf0d32664a1e7d1f00378811d59c)
Signed-off-by: John Meneghini <jmeneghi@redhat.com>
2025-06-02 11:16:25 -04:00
..
Kconfig.megaraid scsi: megaraid: Indent Kconfig option help text 2024-10-23 01:34:15 +05:30
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c scsi: Constify struct pci_device_id 2025-06-02 11:16:25 -04:00
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas.h scsi: megaraid_sas: Driver version update to 07.734.00.00-rc1 2025-04-15 16:15:15 +05:30
megaraid_sas_base.c scsi: Constify struct pci_device_id 2025-06-02 11:16:25 -04:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c overflow: Add struct_size_t() helper 2024-03-26 21:44:33 +01:00
megaraid_sas_fusion.c scsi: megaraid_sas: Block zero-length ATA VPD inquiry 2025-04-15 16:15:10 +05:30
megaraid_sas_fusion.h scsi: megaraid_sas: Add flexible array member for SGLs 2023-04-16 18:29:18 +02:00