Re: [PATCH] regulator: core: Remove regulator supply_name length limit

From: Mark Brown

Date: Thu Feb 12 2026 - 11:04:36 EST


On Wed, 11 Feb 2026 21:37:14 -0600, Bjorn Andersson wrote:
> When creating the regulator object, associated with a consumer device,
> the supply_name is string formatted into a statically sized buffer on
> the stack, then strdup()'ed onto the heap.
>
> Not only is the dance on the stack unnecessary, but when the device's
> name is long we might not fit the constructed supply_name in the fixed
> 64 byte buffer on the stack.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: core: Remove regulator supply_name length limit
commit: e243cdd87b911ce9968b62e4ab2b680dfadc4341

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark