lkml.org 
[lkml]   [2017]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/sun4i : constify drm_plane_helper_funcs
On Mon, Jul 03, 2017 at 09:35:20PM +0530, Arvind Yadav wrote:
> drm_plane_helper_funcs are not supposed to change at runtime.
> All functions working with drm_plane_helper_funcs provided by
> <drm/drm_plane_helper.h> work with const drm_plane_helper_funcs.
> So mark the non-const structs as const.
>
> File size before:
> text data bss dec hex filename
> 981 40 0 1021 3fd drivers/gpu/drm/sun4i/sun4i_layer.o
>
> File size After adding 'const':
> text data bss dec hex filename
> 1021 0 0 1021 3fd drivers/gpu/drm/sun4i/sun4i_layer.o
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

Queued for 4.14, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-07-03 23:30    [W:0.026 / U:6.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site