From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
To: lee@kernel.org, krzk@kernel.org, alim.akhtar@samsung.com,
s.nawrocki@samsung.com, beomho.seo@samsung.com,
ideal.song@samsung.com
Cc: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: [PATCH 0/4] mfd: exynos-lpass: Fix some error handling paths
Date: Sat, 29 Mar 2025 08:45:44 +0100 [thread overview]
Message-ID: <cover.1743231856.git.christophe.jaillet@wanadoo.fr> (raw)
This serie fixes several issues related to error handling paths in
drivers/mfd/exynos-lpass.c.
I've split it in 4 patches to ease review, but could be merge in only
1 patch. Or only (3 and 4) could be merged, as they are related.
Patch 1: Fix a leak in the error handling path of the probe. It Should
be straighforward.
Patch 2: Slighly unsure of the order of the code. In the probe, we
enable pm, then lpass, so should we disable lpass, then pm?
Patch 3: Is just a preparation for patch 4. It makes patch 4 more
readable.
Patch 4: Fix a leak in the error handling path of the probe. It Should
be straighforward.
All these patches are compile tested only.
Christophe JAILLET (4):
mfd: exynos-lpass: Fix an error handling path in exynos_lpass_probe()
mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in
exynos_lpass_remove()
mfd: exynos-lpass: Move exynos_lpass_remove()
mfd: exynos-lpass: Fix another error handling path in
exynos_lpass_probe()
drivers/mfd/exynos-lpass.c | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
--
2.49.0
next reply other threads:[~2025-03-29 7:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-29 7:45 Christophe JAILLET [this message]
2025-03-29 7:45 ` [PATCH 1/4] mfd: exynos-lpass: Fix an error handling path in exynos_lpass_probe() Christophe JAILLET
2025-03-30 10:01 ` Krzysztof Kozlowski
2025-03-29 7:45 ` [PATCH 2/4] mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove() Christophe JAILLET
2025-03-30 10:02 ` Krzysztof Kozlowski
2025-03-29 7:45 ` [PATCH 3/4] mfd: exynos-lpass: Move exynos_lpass_remove() Christophe JAILLET
2025-03-30 10:02 ` Krzysztof Kozlowski
2025-03-29 7:45 ` [PATCH 4/4] mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe() Christophe JAILLET
2025-03-30 10:03 ` Krzysztof Kozlowski
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=cover.1743231856.git.christophe.jaillet@wanadoo.fr \
--to=christophe.jaillet@wanadoo.fr \
--cc=alim.akhtar@samsung.com \
--cc=beomho.seo@samsung.com \
--cc=ideal.song@samsung.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=s.nawrocki@samsung.com \
/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®