From: Vinod Koul <vkoul@kernel.org>
To: yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.dev,
Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com
Subject: Re: [PATCH] soundwire: stream: sdw_stream_remove_slave(): Check stream is valid
Date: Sun, 03 May 2026 22:03:13 +0530 [thread overview]
Message-ID: <177782599389.108644.14907204831190239743.b4-ty@kernel.org> (raw)
In-Reply-To: <20260430143353.2702714-1-rf@opensource.cirrus.com>
On Thu, 30 Apr 2026 15:33:53 +0100, Richard Fitzgerald wrote:
> In sdw_stream_remove_slave() check that stream is a valid pointer
> before passing it to functions that dereference it. Return 0 if the
> pointer is invalid.
>
> This is a convenience for callers. They can safely call this function
> during cleanup code without needing a pointer validity check duplicated
> at every call point.
>
> [...]
Applied, thanks!
[1/1] soundwire: stream: sdw_stream_remove_slave(): Check stream is valid
commit: 9a0afdd19a01c6edddb92eb6a464f9e99d946b90
Best regards,
--
~Vinod
prev parent reply other threads:[~2026-05-03 16:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-30 14:33 [PATCH] soundwire: stream: sdw_stream_remove_slave(): Check stream is valid Richard Fitzgerald
2026-04-30 20:01 ` Pierre-Louis Bossart
2026-05-03 16:33 ` 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=177782599389.108644.14907204831190239743.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=rf@opensource.cirrus.com \
--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