tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/sti-sas head: 32a726b2e089ec1851965290a610c4ae9cab3303 commit: 32a726b2e089ec1851965290a610c4ae9cab3303 [1/1] ASoC: sti-sas: Add sti platform codec config: i386-randconfig-x0-07112203 (attached as .config) reproduce: git checkout 32a726b2e089ec1851965290a610c4ae9cab3303 # save the attached .config to linux build tree make ARCH=i386
All error/warnings (new ones prefixed by >>):
sound/soc/codecs/sti-sas.c: In function 'stih416_dac_probe':
sound/soc/codecs/sti-sas.c:227:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration]
dac->rst = devm_reset_control_get(codec->dev, "dac_rst"); ^
sound/soc/codecs/sti-sas.c:227:11: warning: assignment makes pointer from integer without a cast
dac->rst = devm_reset_control_get(codec->dev, "dac_rst"); ^ cc1: some warnings being treated as errors
vim +/devm_reset_control_get +227 sound/soc/codecs/sti-sas.c
221 { 222 struct snd_soc_codec *codec = dai->codec; 223 struct sti_sas_data *drvdata = dev_get_drvdata(codec->dev); 224 struct sti_dac_audio *dac = &drvdata->dac; 225 226 /* Get reset control */
227 dac->rst = devm_reset_control_get(codec->dev, "dac_rst");
228 if (IS_ERR(dac->rst)) { 229 dev_err(dai->codec->dev, 230 "%s: ERROR: DAC reset control not defined (%d)!\n",
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation