[PATCH v2] pinctrl: meson: Constify some structures

Linus Walleij linus.walleij at linaro.org
Fri Aug 23 09:02:14 PDT 2024


On Wed, Aug 7, 2024 at 8:05 PM 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.

Patch applied.

Yours,
Linus Walleij



More information about the linux-amlogic mailing list