tree:
https://github.com/morimoto/linux fw-cleanup-2021-01-19-v1
head: 9dcb567a2d18cdc9984d16da266b963f5a8e045b
commit: 752125acb1c44fc46f3eeae868dbb2f518bf5a18 [131/137] card2
config: nds32-randconfig-r003-20210119 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/morimoto/linux/commit/752125acb1c44fc46f3eeae868dbb2f5...
git remote add morimoto-linux
https://github.com/morimoto/linux
git fetch --no-tags morimoto-linux fw-cleanup-2021-01-19-v1
git checkout 752125acb1c44fc46f3eeae868dbb2f518bf5a18
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/generic/audio-graph-card2.c: In function '__graph_parse_daifmt':
> sound/soc/generic/audio-graph-card2.c:311:21: error: implicit
declaration of function 'snd_soc_of_parse_daifmt'; did you mean
'snd_soc_of_parse_tdm_slot'? [-Werror=implicit-function-declaration]
311 | unsigned int fmt = snd_soc_of_parse_daifmt(np, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~
| snd_soc_of_parse_tdm_slot
cc1: some warnings being treated as errors
vim +311 sound/soc/generic/audio-graph-card2.c
292
293 static void graph_parse_mclk_fs(struct device_node *ep,
294 struct simple_dai_props *props)
295 {
296 struct device_node *port = of_get_parent(ep);
297 struct device_node *ports = of_get_parent(port);
298
299 if (of_node_name_eq(ports, "ports"))
300 of_property_read_u32(ports, "mclk-fs", &props->mclk_fs);
301
302 of_property_read_u32(port, "mclk-fs", &props->mclk_fs);
303 of_property_read_u32(ep, "mclk-fs", &props->mclk_fs);
304
305 of_node_put(port);
306 of_node_put(ports);
307 }
308 static void __graph_parse_daifmt(struct device_node *np,
309 struct snd_soc_dai_link *dai_link)
310 {
311 unsigned int fmt = snd_soc_of_parse_daifmt(np, NULL, NULL,
NULL);
312 unsigned int mask = 0;
313
314 if (fmt & SND_SOC_DAIFMT_FORMAT_MASK)
315 mask |= SND_SOC_DAIFMT_FORMAT_MASK;
316 if (fmt & SND_SOC_DAIFMT_CLOCK_MASK)
317 mask |= SND_SOC_DAIFMT_CLOCK_MASK;
318 if (fmt & SND_SOC_DAIFMT_INV_MASK)
319 mask |= SND_SOC_DAIFMT_INV_MASK;
320 if (fmt & SND_SOC_DAIFMT_MASTER_MASK)
321 mask |= SND_SOC_DAIFMT_MASTER_MASK;
322
323 /* overwrite */
324 dai_link->dai_fmt = (dai_link->dai_fmt & ~mask) | fmt;
325 }
326
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org