Re: [PATCH][next] iio: light: vcnl4000: make read-only const array regulator_names static
Jonathan Cameron <[email protected]> Mon, 20 Jul 2026 02:41:00 +0100
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260720024100.42a0f6b9@jic23-huawei> |
On Tue, 14 Jul 2026 20:05:32 +0300 Andy Shevchenko <[email protected]> wrote: > On Tue, Jul 14, 2026 at 05:57:39PM +0100, Colin Ian King wrote: > > Don't populate the read-only const array regulator_names on the stack > > at run time, instead make it static const char * const > > Makes sense > Reviewed-by: Andy Shevchenko <[email protected]> > Applied. Thanks J