Centos-kernel-stream-9/drivers/scsi/qedi
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
Makefile
qedi.h
qedi_dbg.c
qedi_dbg.h
qedi_debugfs.c
qedi_fw.c
qedi_fw_api.c
qedi_fw_iscsi.h
qedi_fw_scsi.h
qedi_gbl.h
qedi_hsi.h
qedi_iscsi.c
qedi_iscsi.h
qedi_main.c scsi: Constify struct pci_device_id 2025-06-02 11:16:25 -04:00
qedi_nvm_iscsi_cfg.h
qedi_sysfs.c
qedi_version.h