[PATCH v2] pinctrl: meson: Constify some structures
Jerome Brunet
jbrunet at baylibre.com
Thu Aug 8 03:05:57 PDT 2024
On Wed 07 Aug 2024 at 20:05, Christophe JAILLET <christophe.jaillet at wanadoo.fr> 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 at baylibre.com>
On the vim3l:
Tested-by: Jerome Brunet <jbrunet at baylibre.com>
More information about the linux-amlogic
mailing list