[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173915612132.10716.10485033554569373348.b4-ty@oracle.com>
Date: Sun, 9 Feb 2025 21:58:24 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Adaptec OEM Raid Solutions <aacraid@...rosemi.com>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Ketan Mukadam <ketan.mukadam@...adcom.com>,
Anil Gurumurthy <anil.gurumurthy@...gic.com>,
Sudarsana Kalluru <sudarsana.kalluru@...gic.com>,
James Smart <james.smart@...adcom.com>,
Ram Vegesna <ram.vegesna@...adcom.com>,
Sathya Prakash Veerichetty <sathya.prakash@...adcom.com>,
Kashyap Desai <kashyap.desai@...adcom.com>,
Sumit Saxena <sumit.saxena@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
Suganath Prabu Subramani <suganath-prabu.subramani@...adcom.com>,
Nilesh Javali <njavali@...vell.com>,
Manish Rangankar <mrangankar@...vell.com>,
GR-QLogic-Storage-Upstream@...vell.com,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-scsi@...r.kernel.org, target-devel@...r.kernel.org,
mpi3mr-linuxdrv.pdl@...adcom.com, MPT-FusionLinux.pdl@...adcom.com
Subject: Re: [PATCH] scsi: Constify struct pci_error_handlers
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
Powered by blists - more mailing lists