linux-stable/drivers/message/fusion
Christophe JAILLET e953835c1d scsi: message: fusion: Constify struct pci_device_id
'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
  36999	   2451	     88	  39538	   9a72	drivers/message/fusion/mptfc.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  37415	   2043	     88	  39546	   9a7a	drivers/message/fusion/mptfc.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/fe8f17a999b6def2649b2ef52ea5c9ee61e28bd0.1731705152.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-11-20 21:38:24 -05:00
..
lsi scsi: message: fusion: struct _CONFIG_PAGE_IOC_4: Replace 1-element array with flexible array 2024-08-02 21:32:52 -04:00
Kconfig scsi: message: fusion: Add HAS_IOPORT dependencies 2023-05-31 19:59:26 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mptbase.c scsi: mptfusion: Simplify the alloc*_workqueue() invocations 2024-08-22 21:28:55 -04:00
mptbase.h scsi: mptfusion: Simplify the alloc*_workqueue() invocations 2024-08-22 21:28:55 -04:00
mptctl.c SCSI misc on 20240928 2024-09-29 09:22:34 -07:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h scsi: message: fusion: Avoid -Wempty-body warnings 2021-04-01 22:55:25 -04:00
mptfc.c scsi: message: fusion: Constify struct pci_device_id 2024-11-20 21:38:24 -05:00
mptlan.c scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-03-24 20:38:50 -04:00
mptlan.h scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif 2024-10-03 22:00:08 -04:00
mptsas.c scsi: message: fusion: Constify struct pci_device_id 2024-11-20 21:38:24 -05:00
mptsas.h scsi: message: fusion: Remove in_interrupt() usage in mptsas_cleanup_fw_event_q() 2020-12-01 00:03:54 -05:00
mptscsih.c scsi: core: Add a dma_alignment field to the host and host template 2024-04-11 21:37:48 -04:00
mptscsih.h scsi: message: fusion: Correct definitions for mptscsih_dev_reset() 2023-10-13 14:23:14 -04:00
mptspi.c scsi: message: fusion: Constify struct pci_device_id 2024-11-20 21:38:24 -05:00