[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176770207872.32717.3989188750780257328.b4-ty@kernel.org>
Date: Tue, 06 Jan 2026 12:21:18 +0000
From: Mark Brown <broonie@...nel.org>
To: gregkh@...uxfoundation.org, rafael@...nel.org, dakr@...nel.org,
Kaushlendra Kumar <kaushlendra.kumar@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regmap: maple: free entry on mas_store_gfp() failure
On Mon, 05 Jan 2026 08:48:20 +0530, Kaushlendra Kumar wrote:
> regcache_maple_write() allocates a new block ('entry') to merge
> adjacent ranges and then stores it with mas_store_gfp().
> When mas_store_gfp() fails, the new 'entry' remains allocated and
> is never freed, leaking memory.
>
> Free 'entry' on the failure path; on success continue freeing the
> replaced neighbor blocks ('lower', 'upper').
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next
Thanks!
[1/1] regmap: maple: free entry on mas_store_gfp() failure
commit: f3f380ce6b3d5c9805c7e0b3d5bc28d9ec41e2e8
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
Powered by blists - more mailing lists