Re: [PATCH][next] iio: light: vcnl4000: make read-only const array regulator_names static

Andy Shevchenko <[email protected]> Tue, 14 Jul 2026 20:05:32 +0300
Newsgroups gmane.linux.kernel,gmane.linux.kernel.iio,gmane.linux.kernel.janitors
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
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]>

-- 
With Best Regards,
Andy Shevchenko