[alsa-devel] [asoc:for-next 99/101] sound/soc/codecs/sta529.c:400:10: warning: 'ret' may be used uninitialized in this function
Hi Rajeev,
There are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next head: 5a6bb2006960eab999dc7023b344bfdbb82e3059 commit: 3be58dbb92871442191188ae51b449e1a9f0fe64 [99/101] ASoC: STA529: Add support for STA529 Audio Codec
All warnings:
sound/soc/codecs/sta529.c: In function 'sta529_i2c_probe': sound/soc/codecs/sta529.c:400:10: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
vim +400 sound/soc/codecs/sta529.c 397 398 sta529->regmap = devm_regmap_init_i2c(i2c, &sta529_regmap); 399 if (IS_ERR(sta529->regmap)) {
400 dev_err(&i2c->dev, "Failed to allocate regmap: %d\n", ret);
401 return PTR_ERR(sta529->regmap); 402 } 403
--- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu wfg@linux.intel.com Intel Corporation
participants (1)
-
wfg@linux.intel.com