aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-13 06:27:11 +0000
committerOleksandr Andrushchenko <[email protected]>2019-08-19 05:32:52 +0000
commitd777478599f781fc5162d1ae95dbee6e5ae05a41 (patch)
tree10af369491062e5af618da2ff5cb84516428ed5b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/vboxvideo: Make structure vbox_fb_helper_funcs constant (diff)
downloadkernel-d777478599f781fc5162d1ae95dbee6e5ae05a41.tar.gz
kernel-d777478599f781fc5162d1ae95dbee6e5ae05a41.zip
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 <[email protected]> Signed-off-by: Oleksandr Andrushchenko <[email protected]> Reviewed-by: Oleksandr Andrushchenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions