From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Neal Liu <neal.liu@mediatek.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths
Date: Tue, 07 Jan 2025 13:12:58 +0100 [thread overview]
Message-ID: <173625197880.58535.7586799150314757117.b4-ty@collabora.com> (raw)
In-Reply-To: <20250104142012.115974-1-krzysztof.kozlowski@linaro.org>
On Sat, 04 Jan 2025 15:20:11 +0100, Krzysztof Kozlowski wrote:
> Error paths of mtk_devapc_probe() should unmap the memory. Reported by
> Smatch:
>
> drivers/soc/mediatek/mtk-devapc.c:292 mtk_devapc_probe() warn: 'ctx->infra_base' from of_iomap() not released on lines: 277,281,286.
>
>
Applied to v6.13-next/dts64, thanks!
[1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths
commit: a985d806d231ab40992f59a8bf96acf1b7a94762
[2/2] soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove
commit: c2bcebc6fbf74a5aa5b127349d5cd15577d78cd6
Cheers,
Angelo
next prev parent reply other threads:[~2025-01-07 12:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-04 14:20 Krzysztof Kozlowski
2025-01-04 14:20 ` [PATCH 2/2] soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove Krzysztof Kozlowski
2025-01-07 12:12 ` AngeloGioacchino Del Regno [this message]
2025-01-07 12:14 ` [PATCH 1/2] soc: mediatek: mtk-devapc: Fix leaking IO map on error paths AngeloGioacchino Del Regno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173625197880.58535.7586799150314757117.b4-ty@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=neal.liu@mediatek.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®