[PATCH v2 0/6] ASoC: topology: Propagate error appropriately

Sridharan, Ranjani ranjani.sridharan at intel.com
Mon Mar 30 18:41:12 CEST 2020


On Fri, Mar 27, 2020 at 11:40 AM Amadeusz Sławiński <
amadeuszx.slawinski at linux.intel.com> wrote:

> v1:
>   Check if kstrdup succeeded.
>
> v2:
>   Remove unneeded freeing, which is performed in another place by dobj
>   handlers.
>
>   Additionally for functions which have return status which was ignored,
>   perform success checks and handle failures in appropriate way.
>
> Amadeusz Sławiński (6):
>   ASoC: topology: Add missing memory checks
>   ASoC: topology: Check return value of soc_tplg_create_tlv
>   ASoC: topology: Check return value of soc_tplg_*_create
>   ASoC: topology: Check soc_tplg_add_route return value
>   ASoC: topology: Check return value of pcm_new_ver
>   ASoC: topology: Check return value of soc_tplg_dai_config

Thanks, Amadeusz. LGTM
Reviewed-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>


More information about the Alsa-devel mailing list