summaryrefslogtreecommitdiff
path: root/include/uapi/drm/panfrost_drm.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-13 09:27:11 +0300
committerOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2019-08-19 08:32:52 +0300
commitd777478599f781fc5162d1ae95dbee6e5ae05a41 (patch)
tree10af369491062e5af618da2ff5cb84516428ed5b /include/uapi/drm/panfrost_drm.h
parent596cb85218d7aff659b99bbaa50059f48d00d971 (diff)
downloadlinux-d777478599f781fc5162d1ae95dbee6e5ae05a41.tar.xz
drm/xen-front: Make structure fb_funcs constant
Static structure fb_funcs, of type drm_framebuffer_funcs, is used only when it is passed to drm_gem_fb_create_with_funcs() as its last argument. drm_gem_fb_create_with_funcs does not modify its lst argument (fb_funcs) and hence fb_funcs is never modified. Therefore make fb_funcs constant to protect it from further modification. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190813062712.24993-1-nishkadg.linux@gmail.com
Diffstat (limited to 'include/uapi/drm/panfrost_drm.h')
0 files changed, 0 insertions, 0 deletions