[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYvrXm62u1L3Bc3RYramBD081GSfZBqYPamxMSKq5H7gw@mail.gmail.com>
Date: Fri, 20 Dec 2024 13:49:02 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH] pinctrl: ocelot: Constify some structures
On Thu, Dec 12, 2024 at 6:13 PM Christophe JAILLET
<christophe.jaillet@...adoo.fr> wrote:
> 'struct ocelot_match_data and 'struct irq_chip' are not modified in this
> driver.
>
> Constifying these structures moves some data to a read-only section, so
> increase overall security, especially when the structure holds some
> function pointers.
>
> On a x86_64, with allmodconfig:
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists