Re: [PATCH v2] pinctrl: meson: Constify some structures

From: Jerome Brunet
Date: Thu Aug 08 2024 - 06:06:13 EST


On Wed 07 Aug 2024 at 20:05, Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> The following structures are not modified in these drivers.
> - struct meson_bank
> - struct meson_pmx_bank
> - struct meson_pmx_func
> - struct meson_pmx_group
> - struct meson_pinctrl_data
> - struct meson_axg_pmx_data
>
> Constifying these structures moves some data to a read-only section, so
> increase overall security.
>

Reviewed-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

On the vim3l:
Tested-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>