On Wed, Jul 12, 2023 at 7:20 PM Mark Brown <broonie@xxxxxxxxxx> wrote: > The sunxi pinctrl has a fixed size array it uses to store regulators used > in the driver. There is currently nothing that ensures that the number of > elements in the array is large enough to map the regulators defined by the > individual SoCs. While this is currently the case having an explicit check > in there will make life easier for anyone debugging memory issues that > manifest in the driver so let's add one. > > Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Patch applied. Yours, Linus Walleij