Re: [PATCH] scsi: Constify struct pci_error_handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 19 Jan 2025 21:29:39 +0100, Christophe JAILLET wrote:

> '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
> 
> [...]

Applied to 6.15/scsi-queue, thanks!

[1/1] scsi: Constify struct pci_error_handlers
      https://git.kernel.org/mkp/scsi/c/14807b4a4e03

-- 
Martin K. Petersen	Oracle Linux Engineering




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux