Re: [PATCH 2/8] mfd: intel: Constify static struct resource

From: Rikard Falkeborn
Date: Tue Sep 22 2020 - 18:00:35 EST


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@xxxxxxxxx> 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