[morimoto:sound2-2022-07-08-v1 9/18] sound/soc/soc-core.c:966:5: sparse: sparse: symbol '__snd_soc_add_pcm_runtime' was not declared. Should it be static?

From: kernel test robot
Date: Thu Jul 14 2022 - 13:34:49 EST


tree: https://github.com/morimoto/linux sound2-2022-07-08-v1
head: b5e8d2766050dfd3452dcdcdff072121984c9a31
commit: 525984dfed23d3f036e4c9bd8f8a72bec3823ffb [9/18] ASoC: force to use DPCM on normal connection
config: i386-randconfig-s003 (https://download.01.org/0day-ci/archive/20220715/202207150148.5qKyHdfC-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/morimoto/linux/commit/525984dfed23d3f036e4c9bd8f8a72bec3823ffb
git remote add morimoto https://github.com/morimoto/linux
git fetch --no-tags morimoto sound2-2022-07-08-v1
git checkout 525984dfed23d3f036e4c9bd8f8a72bec3823ffb
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash sound/soc/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)
>> sound/soc/soc-core.c:966:5: sparse: sparse: symbol '__snd_soc_add_pcm_runtime' was not declared. Should it be static?

--
0-DAY CI Kernel Test Service
https://01.org/lkp