[PATCH] ASoC: imx-hdmi: Fix warning of the uninitialized variable ret

Fabio Estevam festevam at gmail.com
Wed Dec 16 22:26:31 AEDT 2020


Hi Shengjiu,

On Wed, Dec 16, 2020 at 7:52 AM Shengjiu Wang <shengjiu.wang at nxp.com> wrote:
>
> From: shengjiu wang <shengjiu.wang at nxp.com>
>
> When condition ((hdmi_out && hdmi_in) || (!hdmi_out && !hdmi_in))
> is true, then goto fail, the uninitialized variable ret will be
> returned.
>
> Signed-off-by: shengjiu wang <shengjiu.wang at nxp.com>
> Reported-by: kernel test robot <lkp at intel.com>

Thanks for the fix.

This should have:

Fixes: 6a5f850aa83a ("ASoC: fsl: Add imx-hdmi machine driver")

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the Linuxppc-dev mailing list