Re: [PATCH] drm/radeon: Constify struct pci_device_id

2024-11-18 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Nov 18, 2024 at 6:25 AM Christian König wrote: > > Am 15.11.24 um 18:26 schrieb Christophe JAILLET: > > 'struct pci_device_id' is not modified in this driver. > > > > Constifying this structure moves some data to a read-only section, so > > increase overall securit

Re: [PATCH] drm/radeon: Constify struct pci_device_id

2024-11-18 Thread Christian König
Am 15.11.24 um 18:26 schrieb Christophe JAILLET: 'struct pci_device_id' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == text data bss dec hex

[PATCH] drm/radeon: Constify struct pci_device_id

2024-11-16 Thread Christophe JAILLET
'struct pci_device_id' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == textdata bss dec hex filename 11984 28672 44 407009efc drivers/g