linux/drivers/media/usb/cx231xx
Christophe JAILLET d2ae63c2f6 media: cx231xx: Constify struct vb2_ops
"struct vb2_ops" are 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	filename
  36607	   1156	      0	  37763	   9383	drivers/media/usb/cx231xx/cx231xx-417.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  36735	   1016	      0	  37751	   9377	drivers/media/usb/cx231xx/cx231xx-417.o

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-06-21 08:57:09 +02:00
..
cx231xx-417.c media: cx231xx: Constify struct vb2_ops 2024-06-21 08:57:09 +02:00
cx231xx-audio.c media: cx231xx: Use snd_card_free_when_closed() instead of snd_card_free(). 2020-11-17 07:12:45 +01:00
cx231xx-avcore.c media: cx231xx: Remove unneeded semicolon 2020-05-05 17:09:04 +02:00
cx231xx-cards.c media: cx231xx: convert to the vb2 framework 2019-10-01 17:23:44 -03:00
cx231xx-conf-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
cx231xx-core.c media: cx231xx: fix a memleak in cx231xx_init_isoc 2023-12-07 08:31:15 +01:00
cx231xx-dif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cx231xx-dvb.c media: cx231xx: constify copied structure 2020-02-24 15:23:48 +01:00
cx231xx-i2c.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
cx231xx-input.c media: usb: cx231xx: convert to use i2c_new_client_device() 2020-04-14 11:31:32 +02:00
cx231xx-pcb-cfg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
cx231xx-pcb-cfg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
cx231xx-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
cx231xx-vbi.c media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
cx231xx-vbi.h media: cx231xx: convert to the vb2 framework 2019-10-01 17:23:44 -03:00
cx231xx-video.c media: cx231xx: Constify struct vb2_ops 2024-06-21 08:57:09 +02:00
cx231xx.h media: cx231xx: Add EP5_BUF_SIZE and EP5_TIMEOUT_MS macros 2023-09-27 09:39:55 +02:00
Kconfig media: rc: select CONFIG_BITREVERSE where needed 2021-01-27 13:18:08 +01:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00