1
0
Fork 0
alistair23-linux/drivers/gpu/drm/vboxvideo
Nishka Dasgupta 596cb85218 drm/vboxvideo: Make structure vbox_fb_helper_funcs constant
The static structure vbox_fb_helper_funcs, of type drm_fb_helper_funcs,
is used only when it is passed as the third argument to
drm_fb_helper_fbdev_setup(), which does not modify it. Hence make it
constant to protect it from unintended modifications.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190813062548.24770-1-nishkadg.linux@gmail.com
2019-08-18 12:52:52 +02:00
..
Kconfig Merge drm/drm-next into drm-misc-next 2019-05-22 16:08:21 -04:00
Makefile drm/vbox: Remove empty PRIME functions 2019-07-03 09:32:27 +02:00
hgsmi_base.c
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
modesetting.c
vbox_drv.c drm/vboxvideo: Make structure vbox_fb_helper_funcs constant 2019-08-18 12:52:52 +02:00
vbox_drv.h drm/vbox: Remove empty PRIME functions 2019-07-03 09:32:27 +02:00
vbox_fb.c
vbox_hgsmi.c
vbox_irq.c
vbox_main.c drm/vram: use embedded gem object 2019-08-06 08:21:53 +02:00
vbox_mode.c Merge drm/drm-next into drm-misc-next 2019-05-22 16:08:21 -04:00
vbox_ttm.c drm/vboxvideo: Convert vboxvideo driver to VRAM MM 2019-05-15 16:17:09 +02:00
vboxvideo.h
vboxvideo_guest.h
vboxvideo_vbe.h
vbva_base.c