tree:
https://github.com/morimoto/linux fw-cleanup-2020-12-11-v3
head: f3cc575c07169de36c9964f4bacf1ad5caee9ff1
commit: 8ba55018968592e5b9ddc77c656463b42bd8ac5c [57/73] ASoC: add
snd_soc_runtime_get_dai_fmt()
config: arm-randconfig-r012-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
5ff35356f1af2bb92785b38c657463924d9ec386)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/morimoto/linux/commit/8ba55018968592e5b9ddc77c656463b4...
git remote add morimoto-linux
https://github.com/morimoto/linux
git fetch --no-tags morimoto-linux fw-cleanup-2020-12-11-v3
git checkout 8ba55018968592e5b9ddc77c656463b42bd8ac5c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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/soc-dai.c:173:1: error: redefinition of
'__ksymtab_snd_soc_dai_set_fmt'
EXPORT_SYMBOL_GPL(snd_soc_dai_set_fmt);
^
include/linux/export.h:159:33: note: expanded from macro 'EXPORT_SYMBOL_GPL'
#define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "_gpl")
^
include/linux/export.h:155:34: note: expanded from macro '_EXPORT_SYMBOL'
#define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
^
include/linux/export.h:147:39: note: expanded from macro '__EXPORT_SYMBOL'
#define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns)
^
include/linux/export.h:108:2: note: expanded from macro '___EXPORT_SYMBOL'
__KSYMTAB_ENTRY(sym, sec)
^
include/linux/export.h:67:36: note: expanded from macro '__KSYMTAB_ENTRY'
static const struct kernel_symbol __ksymtab_##sym \
^
<scratch space>:63:1: note: expanded from here
__ksymtab_snd_soc_dai_set_fmt
^
sound/soc/soc-dai.c:154:1: note: previous definition is here
EXPORT_SYMBOL_GPL(snd_soc_dai_set_fmt);
^
include/linux/export.h:159:33: note: expanded from macro 'EXPORT_SYMBOL_GPL'
#define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "_gpl")
^
include/linux/export.h:155:34: note: expanded from macro '_EXPORT_SYMBOL'
#define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
^
include/linux/export.h:147:39: note: expanded from macro '__EXPORT_SYMBOL'
#define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns)
^
include/linux/export.h:108:2: note: expanded from macro '___EXPORT_SYMBOL'
__KSYMTAB_ENTRY(sym, sec)
^
include/linux/export.h:67:36: note: expanded from macro '__KSYMTAB_ENTRY'
static const struct kernel_symbol __ksymtab_##sym \
^
<scratch space>:52:1: note: expanded from here
__ksymtab_snd_soc_dai_set_fmt
^
1 error generated.
vim +/__ksymtab_snd_soc_dai_set_fmt +173 sound/soc/soc-dai.c
8ba55018968592 Kuninori Morimoto 2020-12-08 155
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 156 /**
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 157 * snd_soc_dai_set_fmt - configure DAI
hardware audio format.
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 158 * @dai: DAI
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 159 * @fmt: SND_SOC_DAIFMT_* format value.
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 160 *
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 161 * Configures the DAI hardware format
and clocking.
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 162 */
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 163 int snd_soc_dai_set_fmt(struct
snd_soc_dai *dai, unsigned int fmt)
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 164 {
aa7b8230d4c3d0 Kuninori Morimoto 2020-04-24 165 int ret = -ENOTSUPP;
aa7b8230d4c3d0 Kuninori Morimoto 2020-04-24 166
479914ed779d40 Kuninori Morimoto 2020-04-24 167 if (dai->driver->ops &&
479914ed779d40 Kuninori Morimoto 2020-04-24 168
dai->driver->ops->set_fmt)
aa7b8230d4c3d0 Kuninori Morimoto 2020-04-24 169 ret =
dai->driver->ops->set_fmt(dai, fmt);
aa7b8230d4c3d0 Kuninori Morimoto 2020-04-24 170
aa7b8230d4c3d0 Kuninori Morimoto 2020-04-24 171 return soc_dai_ret(dai, ret);
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 172 }
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 @173 EXPORT_SYMBOL_GPL(snd_soc_dai_set_fmt);
06f6e1d41427f3 Kuninori Morimoto 2019-07-22 174
:::::: The code at line 173 was first introduced by commit
:::::: 06f6e1d41427f394ad3f67ecf06efcd28a46932c ASoC: add soc-dai.c
:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx(a)renesas.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org