Files
linux/drivers/scsi/bfa
Christophe JAILLET 14807b4a4e scsi: Constify struct pci_error_handlers
'struct pci_error_handlers' are not modified in these drivers.

Constifying these structures moves some data to a read-only section, so
increase overall security, especially when the structure holds some
function pointers.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  39049	   6429	    112	  45590	   b216	drivers/scsi/aacraid/linit.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  39113	   6365	    112	  45590	   b216	drivers/scsi/aacraid/linit.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/efdec8425981e10fc398fa2ac599c9c45d930561.1737318548.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-02-03 17:35:58 -05:00
..
2021-05-21 17:00:21 -04:00
2024-11-20 21:39:51 -05:00
2024-11-20 21:39:51 -05:00
2024-10-15 17:11:55 -04:00
2024-10-15 17:11:55 -04:00
2024-09-09 16:47:43 -07:00
2024-10-15 17:11:55 -04:00
2024-10-15 17:11:55 -04:00
2024-10-03 21:41:37 -04:00