[PATCH] ASoC: wm_adsp: wm_adsp_control_add() error: uninitialized symbol 'ret'

Charles Keepax ckeepax at opensource.cirrus.com
Mon Nov 15 13:42:39 CET 2021


On Mon, Nov 15, 2021 at 12:01:54PM +0000, Simon Trimmer wrote:
> This patch fixes the static analysis warning as it is correctly
> indicating a possible code path, it cannot know that for the affected
> firmware versions subname would always be NULL.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Simon Trimmer <simont at opensource.cirrus.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list