linux/drivers/uio
Hongbo Li 89ec686a17 uio: Constify struct kobj_type
These 'struct kobj_type' are not modified. They are only used in
kobject_init() which takes a 'const struct kobj_type *ktype'
parameter.

Constifying these structure and moving them to a read-only
section (from data to text), and can increase over all security.

```
[Before]
   text   data    bss    dec    hex    filename
  10330   1908     20  12258   2fe2    drivers/uio/uio.o

[After]
  text    data    bss    dec    hex    filename
  10458   1844     20  12322   3022    drivers/uio/uio.o
```

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240904012200.2010916-1-lihongbo22@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-11 16:02:54 +02:00
..
Kconfig uio: pruss: Remove this driver 2024-04-11 14:39:56 +02:00
Makefile uio: pruss: Remove this driver 2024-04-11 14:39:56 +02:00
uio_aec.c uio: add missing MODULE_DESCRIPTION() macros 2024-06-04 17:39:12 +02:00
uio_cif.c uio: add missing MODULE_DESCRIPTION() macros 2024-06-04 17:39:12 +02:00
uio_dfl.c
uio_dmem_genirq.c Fix build errors due to new UIO_MEM_DMA_COHERENT mess 2024-03-27 09:48:47 -07:00
uio_fsl_elbc_gpcm.c uio: fsl_elbc_gpcm: Convert to platform remove callback returning void 2024-04-11 14:38:59 +02:00
uio_hv_generic.c Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic 2024-09-03 12:37:38 +02:00
uio_mf624.c uio: add missing MODULE_DESCRIPTION() macros 2024-06-04 17:39:12 +02:00
uio_netx.c uio: add missing MODULE_DESCRIPTION() macros 2024-06-04 17:39:12 +02:00
uio_pci_generic.c
uio_pdrv_genirq.c uio_pdrv_genirq: convert to use device_property APIs 2024-04-11 14:40:29 +02:00
uio_sercos3.c
uio.c uio: Constify struct kobj_type 2024-09-11 16:02:54 +02:00