Re: [PATCH] soundwire: stream: sdw_stream_remove_slave(): Check stream is valid
From: Vinod Koul
Date: Sun May 03 2026 - 12:33:20 EST
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