Messages in this thread | | | From | Rikard Falkeborn <> | Date | Wed, 23 Sep 2020 00:00:24 +0200 | Subject | Re: [PATCH 2/8] mfd: intel: Constify static struct resource |
| |
On Wed, Sep 23, 2020 at 12:31:28AM +0300, Andy Shevchenko wrote: > On Tue, Sep 22, 2020 at 10:32 PM Rikard Falkeborn > <rikard.falkeborn@gmail.com> wrote: > > > > Constify a number of static struct resource. The only usage of the > > structs are to assign their address to the resources field in the > > mfd_cell struct. This allows the compiler to put them in read-only > > memory. Done with the help of Coccinelle. > > How had you tested this? >
It's compile-tested only.
Rikard
| |