[PATCH 0/3] pinctrl: meson: Constify some structure
Jerome Brunet
jbrunet at baylibre.com
Wed Aug 7 07:14:04 PDT 2024
On Wed 07 Aug 2024 at 11:30, Christophe JAILLET <christophe.jaillet at wanadoo.fr> wrote:
> These 3 patches constify some structures in order to move some data to a
> read-only section, so increase overall security.
>
> It is splitted in 3 to ease review.
I'm not entirely sure it eases review in this case.
If a v2 is necessary, I think a single patch would be better.
> Patch 1: struct meson_pmx_group and meson_pmx_func
> patch 2: struct meson_bank
> patch 3: struct meson_pmx_bank
Is there any reason for leaving out 'struct meson_pinctrl_data' and
'struct meson_axg_pmx_data' ? I don't think they get modified but maybe
I missed it.
>
> All patches are only compile tested.
Looks good anyway
Reviewed-by: Jerome Brunet <jbrunet at baylibre.com>
On the vim3l:
Tested-by: Jerome Brunet <jbrunet at baylibre.com>
More information about the linux-amlogic
mailing list