Re: [PATCH] ata: Constify struct pci_device_id

From: Niklas Cassel
Date: Mon Dec 02 2024 - 23:17:06 EST


On Fri, 15 Nov 2024 22:08:55 +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
> 4245 1454 4 5703 1647 drivers/ata/ata_generic.o
>
> [...]

Applied to libata/linux.git (for-6.14), thanks!

[1/1] ata: Constify struct pci_device_id
https://git.kernel.org/libata/linux/c/9986ce65

Kind regards,
Niklas