milos-linux/drivers/uio
Christophe JAILLET 511d7a35a4 uio: Constify struct pci_device_id
'struct pci_device_id' is not modified in these drivers.

Constifying this structure moves some data to a read-only section, so
increases overall security.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
   4073	   1336	      0	   5409	   1521	drivers/uio/uio_cif.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
   4233	   1176	      0	   5409	   1521	drivers/uio/uio_cif.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/114791f85f0f81531ca2169721eac4911dbe0865.1755629302.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-06 15:57:04 +02:00
..
Kconfig
Makefile
uio.c uio: Fix return value of poll 2025-01-10 09:52:39 +01:00
uio_aec.c uio: Constify struct pci_device_id 2025-09-06 15:57:04 +02:00
uio_cif.c uio: Constify struct pci_device_id 2025-09-06 15:57:04 +02:00
uio_dfl.c
uio_dmem_genirq.c uio: uio_dmem_genirq: check the return value of devm_kasprintf() 2025-01-10 09:52:44 +01:00
uio_fsl_elbc_gpcm.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
uio_hv_generic.c Char/Misc/IIO pull request for 6.16-rc1 2025-06-06 11:50:47 -07:00
uio_mf624.c uio: add missing MODULE_DESCRIPTION() macros 2024-06-04 17:39:12 +02:00
uio_netx.c uio: Constify struct pci_device_id 2025-09-06 15:57:04 +02:00
uio_pci_generic.c
uio_pdrv_genirq.c uio: uio_pdrv_genirq: Make use of irq_get_trigger_type() 2024-10-13 17:16:28 +02:00
uio_sercos3.c uio: Constify struct pci_device_id 2025-09-06 15:57:04 +02:00