tree:
https://github.com/morimoto/linux fw-cleanup-2021-02-16-v1
head: 3adc94e2c5d7b6db803cfb9de2bb133fbcba7bea
commit: 153639a8fed780ad137c3ced7a41005a0ede704a [45/96] ASoC: audio-graph: move
audio_graph_card_probe() to simple-card-utils.c
config: x86_64-randconfig-a005-20210215 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
c9439ca36342fb6013187d0a69aef92736951476)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/morimoto/linux/commit/153639a8fed780ad137c3ced7a41005a...
git remote add morimoto-linux
https://github.com/morimoto/linux
git fetch --no-tags morimoto-linux fw-cleanup-2021-02-16-v1
git checkout 153639a8fed780ad137c3ced7a41005a0ede704a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> sound/soc/generic/simple-card-utils.c:742:5: warning: no previous
prototype for function 'audio_graph_card_probe' [-Wmissing-prototypes]
int audio_graph_card_probe(struct snd_soc_card *card)
^
sound/soc/generic/simple-card-utils.c:742:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int audio_graph_card_probe(struct snd_soc_card *card)
^
static
1 warning generated.
vim +/audio_graph_card_probe +742 sound/soc/generic/simple-card-utils.c
741
742 int audio_graph_card_probe(struct snd_soc_card *card)
743 {
744 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(card);
745 int ret;
746
747 ret = asoc_simple_init_hp(card, &priv->hp_jack, NULL);
748 if (ret < 0)
749 return ret;
750
751 ret = asoc_simple_init_mic(card, &priv->mic_jack, NULL);
752 if (ret < 0)
753 return ret;
754
755 return 0;
756 }
757 EXPORT_SYMBOL_GPL(audio_graph_card_probe);
758
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org