Re: [PATCH] ASoC: fsl: lpc3xxx-i2s: Avoid using ret uninitialized in lpc32xx_i2s_probe()

2024-07-01 Thread Mark Brown
On Mon, 01 Jul 2024 09:24:16 -0700, Nathan Chancellor wrote: > clang points out that ret may be used uninitialized in > lpc32xx_i2s_probe() in an error pointer path (which becomes fatal with > CONFIG_WERROR): > > sound/soc/fsl/lpc3xxx-i2s.c:326:47: error: variable 'ret' is uninitialized > when

[PATCH] ASoC: fsl: lpc3xxx-i2s: Avoid using ret uninitialized in lpc32xx_i2s_probe()

2024-07-01 Thread Nathan Chancellor
clang points out that ret may be used uninitialized in lpc32xx_i2s_probe() in an error pointer path (which becomes fatal with CONFIG_WERROR): sound/soc/fsl/lpc3xxx-i2s.c:326:47: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] 326 |