596cb85218
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 |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
hgsmi_base.c | ||
hgsmi_ch_setup.h | ||
hgsmi_channels.h | ||
hgsmi_defs.h | ||
modesetting.c | ||
vbox_drv.c | ||
vbox_drv.h | ||
vbox_fb.c | ||
vbox_hgsmi.c | ||
vbox_irq.c | ||
vbox_main.c | ||
vbox_mode.c | ||
vbox_ttm.c | ||
vboxvideo.h | ||
vboxvideo_guest.h | ||
vboxvideo_vbe.h | ||
vbva_base.c |