Re: [PATCH] drm/rockchip: Constify struct drm_encoder_helper_funcs

2024-08-15 Thread Heiko Stuebner
On Sat, 13 Jul 2024 22:52:05 +0200, Christophe JAILLET wrote: > 'struct drm_encoder_helper_funcs' is not modified in these drivers. > > Constifying this structure moves some data to a read-only section, so > increase overall security. > > On a x86_64, with allmodconfig: > Before: > == >te

[PATCH] drm/rockchip: Constify struct drm_encoder_helper_funcs

2024-07-13 Thread Christophe JAILLET
'struct drm_encoder_helper_funcs' is not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == textdata bss dec hex filename 7458 552 080101