[alsa-devel] [GIT PULL] ASoC updates for v5.2

Takashi Iwai tiwai at suse.de
Mon May 6 16:42:59 CEST 2019


On Mon, 06 May 2019 16:40:00 +0200,
Mark Brown wrote:
> 
> On Mon, May 06, 2019 at 04:21:15PM +0200, Takashi Iwai wrote:
> > Mark Brown wrote:
> 
> > sound/soc/rockchip/rockchip_pdm.c: In function ‘rockchip_pdm_hw_params’:
> > sound/soc/rockchip/rockchip_pdm.c:179:3: warning: ‘clk_out’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >    rational_best_approximation(clk_out, clk_src,
> >    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >           GENMASK(16 - 1, 0),
> >           ~~~~~~~~~~~~~~~~~~~
> >           GENMASK(16 - 1, 0),
> >           ~~~~~~~~~~~~~~~~~~~
> >           &m, &n);
> >           ~~~~~~~
> 
> > Is a fix on your tree already?
> 
> No, I don't have anything I didn't sent to you.

OK, then I'll submit a few trivial fix patches for covering the random
build warnings.

In addition to the above, I see two others during my build tests:

sound/soc/sof/ops.c:20:6: warning: ‘ret’ is used uninitialized in this function [-Wuninitialized]

sound/soc/codecs/da7219.c:2366:6: warning: unused variable ‘i’ [-Wunused-variable]


thanks,

Takashi


More information about the Alsa-devel mailing list