From: Jonathan Cameron <jonathan.cameron@huawei•com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@oss•qualcomm.com>
Cc: Miguel Ojeda <ojeda@kernel•org>, Rob Herring <robh@kernel•org>,
"Saravana Kannan" <saravanak@google•com>,
Nathan Chancellor <nathan@kernel•org>,
"Nick Desaulniers" <nick.desaulniers+lkml@gmail•com>,
Bill Wendling <morbo@google•com>,
Justin Stitt <justinstitt@google•com>,
Russell King <linux@armlinux•org.uk>,
Nicolas Ferre <nicolas.ferre@microchip•com>,
Alexandre Belloni <alexandre.belloni@bootlin•com>,
Claudiu Beznea <claudiu.beznea@tuxon•dev>,
Krzysztof Kozlowski <krzk@kernel•org>,
"Alim Akhtar" <alim.akhtar@samsung•com>,
Madhavan Srinivasan <maddy@linux•ibm.com>,
Michael Ellerman <mpe@ellerman•id.au>,
"Nicholas Piggin" <npiggin@gmail•com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel•org>,
Nipun Gupta <nipun.gupta@amd•com>,
Nikhil Agarwal <nikhil.agarwal@amd•com>,
Abel Vesa <abelvesa@kernel•org>, Peng Fan <peng.fan@nxp•com>,
Michael Turquette <mturquette@baylibre•com>,
"Stephen Boyd" <sboyd@kernel•org>,
Shawn Guo <shawnguo@kernel•org>,
Sascha Hauer <s.hauer@pengutronix•de>,
Pengutronix Kernel Team <kernel@pengutronix•de>,
Fabio Estevam <festevam@gmail•com>, Vinod Koul <vkoul@kernel•org>,
Sylwester Nawrocki <s.nawrocki@samsung•com>,
Mauro Carvalho Chehab <mchehab@kernel•org>,
"Rafael J. Wysocki" <rafael@kernel•org>,
Viresh Kumar <viresh.kumar@linaro•org>,
<linux-kernel@vger•kernel.org>, <devicetree@vger•kernel.org>,
<llvm@lists•linux.dev>, <linux-arm-kernel@lists•infradead.org>,
<linux-samsung-soc@vger•kernel.org>,
<linuxppc-dev@lists•ozlabs.org>, <linux-clk@vger•kernel.org>,
<imx@lists•linux.dev>, <dmaengine@vger•kernel.org>,
<linux-media@vger•kernel.org>, <linux-pm@vger•kernel.org>
Subject: Re: [PATCH v3 07/12] cdx: Use mutex guard to simplify error handling
Date: Mon, 12 Jan 2026 12:48:41 +0000 [thread overview]
Message-ID: <20260112124841.0000781d@huawei.com> (raw)
In-Reply-To: <20260109-of-for-each-compatible-scoped-v3-7-c22fa2c0749a@oss.qualcomm.com>
On Fri, 09 Jan 2026 17:57:51 +0100
Krzysztof Kozlowski <krzysztof.kozlowski@oss•qualcomm.com> wrote:
> Mutex guard allows to drop one goto/break in error handling and the
> less expected code of assigning -EINVAL to unsigned size_t count
> variable.
>
> Suggested-by: Jonathan Cameron <jonathan.cameron@huawei•com>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss•qualcomm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei•com>
next prev parent reply other threads:[~2026-01-12 12:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 16:57 [PATCH v3 00/12] of/treewide: Simplify with for_each_compatible_node_scoped() Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 01/12] of: Add for_each_compatible_node_scoped() helper Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 02/12] ARM: at91: Simplify with scoped for each OF child loop Krzysztof Kozlowski
2026-01-10 15:09 ` Claudiu Beznea
2026-01-09 16:57 ` [PATCH v3 03/12] ARM: exynos: " Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 04/12] powerpc/fsp2: " Krzysztof Kozlowski
2026-01-09 17:21 ` Christophe Leroy (CS GROUP)
2026-01-09 16:57 ` [PATCH v3 05/12] powerpc/wii: " Krzysztof Kozlowski
2026-01-09 17:22 ` Christophe Leroy (CS GROUP)
2026-01-09 16:57 ` [PATCH v3 06/12] cdx: " Krzysztof Kozlowski
2026-01-12 12:48 ` Jonathan Cameron
2026-01-09 16:57 ` [PATCH v3 07/12] cdx: Use mutex guard to simplify error handling Krzysztof Kozlowski
2026-01-12 12:48 ` Jonathan Cameron [this message]
2026-01-09 16:57 ` [PATCH v3 08/12] clk: imx: imx27: Simplify with scoped for each OF child loop Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 09/12] clk: imx: imx31: " Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 10/12] dmaengine: fsl_raid: " Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 11/12] cpufreq: s5pv210: " Krzysztof Kozlowski
2026-01-09 16:57 ` [PATCH v3 12/12] media: samsung: exynos4-is: " Krzysztof Kozlowski
2026-01-29 17:14 ` [PATCH v3 00/12] of/treewide: Simplify with for_each_compatible_node_scoped() Rob Herring
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=20260112124841.0000781d@huawei.com \
--to=jonathan.cameron@huawei$(echo .)com \
--cc=abelvesa@kernel$(echo .)org \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=alim.akhtar@samsung$(echo .)com \
--cc=chleroy@kernel$(echo .)org \
--cc=claudiu.beznea@tuxon$(echo .)dev \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=dmaengine@vger$(echo .)kernel.org \
--cc=festevam@gmail$(echo .)com \
--cc=imx@lists$(echo .)linux.dev \
--cc=justinstitt@google$(echo .)com \
--cc=kernel@pengutronix$(echo .)de \
--cc=krzk@kernel$(echo .)org \
--cc=krzysztof.kozlowski@oss$(echo .)qualcomm.com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-clk@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-media@vger$(echo .)kernel.org \
--cc=linux-pm@vger$(echo .)kernel.org \
--cc=linux-samsung-soc@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=llvm@lists$(echo .)linux.dev \
--cc=maddy@linux$(echo .)ibm.com \
--cc=mchehab@kernel$(echo .)org \
--cc=morbo@google$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=mturquette@baylibre$(echo .)com \
--cc=nathan@kernel$(echo .)org \
--cc=nick.desaulniers+lkml@gmail$(echo .)com \
--cc=nicolas.ferre@microchip$(echo .)com \
--cc=nikhil.agarwal@amd$(echo .)com \
--cc=nipun.gupta@amd$(echo .)com \
--cc=npiggin@gmail$(echo .)com \
--cc=ojeda@kernel$(echo .)org \
--cc=peng.fan@nxp$(echo .)com \
--cc=rafael@kernel$(echo .)org \
--cc=robh@kernel$(echo .)org \
--cc=s.hauer@pengutronix$(echo .)de \
--cc=s.nawrocki@samsung$(echo .)com \
--cc=saravanak@google$(echo .)com \
--cc=sboyd@kernel$(echo .)org \
--cc=shawnguo@kernel$(echo .)org \
--cc=viresh.kumar@linaro$(echo .)org \
--cc=vkoul@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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