Re: [PATCH] scsi: Constify struct pci_device_id

From: Martin K. Petersen
Date: Thu Jan 02 2025 - 17:48:24 EST


On Sat, 07 Dec 2024 17:48:28 +0100, Christophe JAILLET wrote:

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

Applied to 6.14/scsi-queue, thanks!

[1/1] scsi: Constify struct pci_device_id
https://git.kernel.org/mkp/scsi/c/c9a71ca13f71

--
Martin K. Petersen Oracle Linux Engineering