Re: [PATCH 2/8] mfd: intel: Constify static struct resource
From: Andy Shevchenko
Date: Tue Sep 22 2020 - 17:31:47 EST
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?
--
With Best Regards,
Andy Shevchenko