[lvc-project] [PATCH 5.10/5.15/6.1 1/1] soundwire: stream: use consistent pattern for freeing buffers

Fedor Pchelkin pchelkin at ispras.ru
Fri Mar 15 22:36:42 MSK 2024


On Mon, 04. Mar 12:55, Daniil Dulov wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> 
> commit 5ec0c8721c06fc55d8a0bb32c403228358987eb6 upstream
> 
> The code should free the message buffer used for data, the message
> structure used for control and assign the latter to NULL. The last
> part is missing for multi-link cases, and the order is inconsistent
> for single-link cases.
> 
> Link: https://github.com/thesofproject/linux/issues/4056
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> Reviewed-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> Signed-off-by: Bard Liao <yung-chuan.liao at linux.intel.com>
> Link: https://lore.kernel.org/r/20230119073211.85979-2-yung-chuan.liao@linux.intel.com
> Signed-off-by: Vinod Koul <vkoul at kernel.org>
> Signed-off-by: Daniil Dulov <d.dulov at aladdin.ru>

Добавлено в ветки linux-5.10-lvc-next и linux-6.1-lvc-next.

В публичной linux-5.10-lvc [1] появится при выходе ближайшего релиза.

Спасибо!

[1]: https://git.linuxtesting.ru/pub/scm/linux/kernel/git/lvc/linux-stable.git/log/



More information about the lvc-project mailing list