Re: [PATCH] ASoC: fsl_easrc: Check for null pointer before dereferencing âctxâ in fsl_easrc_hw_free()

From: Markus Elfring
Date: Fri Apr 24 2020 - 09:57:22 EST


> The patch 955ac624058f: "ASoC: fsl_easrc: Add EASRC ASoC CPU DAI
> drivers" from Apr 16, 2020, leads to the following Smatch complaint:
>
> sound/soc/fsl/fsl_easrc.c:1529 fsl_easrc_hw_free()
> warn: variable dereferenced before check 'ctx' (see line 1527)

Please avoid a typo in the final commit subject.

Regards,
Markus