mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Srinivas Kandagatla <srini@kernel.org>,
	 Bard Liao <yung-chuan.liao@linux.intel.com>,
	 Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
	 linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: Re: [PATCH] soundwire: qcom: Use guard to avoid mixing cleanup and goto
Date: Tue, 16 Dec 2025 14:49:53 +0530	[thread overview]
Message-ID: <176587679319.348344.13509792002074257048.b4-ty@kernel.org> (raw)
In-Reply-To: <20251201102627.146182-2-krzysztof.kozlowski@oss.qualcomm.com>


On Mon, 01 Dec 2025 11:26:28 +0100, Krzysztof Kozlowski wrote:
> qcom_swrm_stream_alloc_ports() already uses cleanup.h but also has goto.
> Such combination is error-prone and discouraged:
> 
> "... and that the "goto" statement can jump between scopes, the
> expectation is that usage of "goto" and cleanup helpers is never mixed
> in the same function."
> 
> [...]

Applied, thanks!

[1/1] soundwire: qcom: Use guard to avoid mixing cleanup and goto
      commit: 82ab754d102273f4c974a285aa8025bed7521b15

Best regards,
-- 
~Vinod



      parent reply	other threads:[~2025-12-16  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 10:26 Krzysztof Kozlowski
2025-12-01 10:59 ` Konrad Dybcio
2025-12-01 11:04 ` Srinivas Kandagatla
2025-12-16  9:19 ` Vinod Koul [this message]

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=176587679319.348344.13509792002074257048.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=srini@kernel.org \
    --cc=yung-chuan.liao@linux.intel.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®