Re: [PATCH] fbdev: mmp: Constify struct mmp_overlay_ops

2024-06-25 Thread Helge Deller
On 6/24/24 21:59, Christophe JAILLET wrote: 'struct mmp_overlay_ops' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig, as an example: Before: == text data bss

[PATCH] fbdev: mmp: Constify struct mmp_overlay_ops

2024-06-24 Thread Christophe JAILLET
'struct mmp_overlay_ops' is not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig, as an example: Before: == textdata bss dec hex filename 11798 555 16 12369