Re: [PATCH v2 0/2] regulator: of: Fixes to of_regulator_bulk_get_all()
From: Mark Brown
Date: Sun Oct 04 2026 - 15:17:55 EST
On Wed, 30 Sep 2026 20:13:02 +0400, Alexey Charkov wrote:
> regulator: of: Fixes to of_regulator_bulk_get_all()
>
> of_regulator_bulk_get_all() only fills in the .consumer part of the
> struct regulator_bulk_data for the regulators it gets, leaving .supply as
> garbage, while the rest of the regulator core expects a meaningful name
> there (e.g. for error prints), causing uninitialized memory access in any
> failure paths in the core.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.3
Thanks!
[1/2] regulator: of: fill in supply names in of_regulator_bulk_get_all()
https://git.kernel.org/broonie/regulator/c/e2151c29cec7
[2/2] regulator: of: state who owns the array from of_regulator_bulk_get_all()
https://git.kernel.org/broonie/regulator/c/b35ff7bd7dd5
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