summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@flipper.net>2026-09-30 20:13:04 +0400
committerMark Brown <broonie@kernel.org>2026-10-04 18:29:12 +0200
commitb35ff7bd7dd56915a511eec56c8763ee8f9f7e9f (patch)
tree7d23a3aacdd5f76895cb300169ca6a703a5d8e12 /scripts/Makefile.thinlto
parente2151c29cec73f6cc70abf1c7cbc7b9b202489f5 (diff)
downloadlinux-next-b35ff7bd7dd56915a511eec56c8763ee8f9f7e9f.tar.gz
linux-next-b35ff7bd7dd56915a511eec56c8763ee8f9f7e9f.zip
regulator: of: state who owns the array from of_regulator_bulk_get_all()
of_regulator_bulk_get_all() allocates the consumer array and hands it to the caller, but never said so. Its own error path frees the array, while regulator_bulk_free() only puts the regulators, so both callers release the regulators and leak the array. Spell the contract out in the kerneldoc. Signed-off-by: Alexey Charkov <alchark@flipper.net> Link: https://patch.msgid.link/20260930-regulator-get-all-v2-2-ca82070d22f2@flipper.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions