[PATCH] drm/rockchip: Constify struct drm_encoder_helper_funcs
Heiko Stuebner
heiko at sntech.de
Thu Aug 15 10:40:28 UTC 2024
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:
> ======
> text data bss dec hex filename
> 7458 552 0 8010 1f4a drivers/gpu/drm/rockchip/analogix_dp-rockchip.o
>
> [...]
Applied, thanks!
[1/1] drm/rockchip: Constify struct drm_encoder_helper_funcs
commit: 7af62003181f8589b3b597ef96b147d4303771c4
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the dri-devel
mailing list