[broonie-misc:asoc-5.16 158/199] sound/soc/codecs/wm_adsp.c:3534:52: error: 'struct snd_soc_component' has no member named 'debugfs_root'

From: kernel test robot
Date: Tue Sep 28 2021 - 13:26:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git asoc-5.16
head: 3c561a090c7920624b83005a279a66cc8a7bed2b
commit: e146820215910d889ab16d6c2484fd51a6bb8f1f [158/199] ASoC: wm_adsp: Split out struct cs_dsp from struct wm_adsp
config: h8300-randconfig-r035-20210928 (attached as .config)
compiler: h8300-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git/commit/?id=e146820215910d889ab16d6c2484fd51a6bb8f1f
git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
git fetch --no-tags broonie-misc asoc-5.16
git checkout e146820215910d889ab16d6c2484fd51a6bb8f1f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash sound/soc/codecs/

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

All errors (new ones prefixed by >>):

In file included from include/linux/ctype.h:5,
from sound/soc/codecs/wm_adsp.c:10:
include/linux/scatterlist.h: In function 'sg_set_buf':
include/asm-generic/page.h:89:51: warning: ordered comparison of pointer with null pointer [-Wextra]
89 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:9: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:143:17: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
sound/soc/codecs/wm_adsp.c: In function 'wm_adsp2_component_probe':
>> sound/soc/codecs/wm_adsp.c:3534:52: error: 'struct snd_soc_component' has no member named 'debugfs_root'
3534 | cs_dsp_init_debugfs(&dsp->cs_dsp, component->debugfs_root);
| ^~


vim +3534 sound/soc/codecs/wm_adsp.c

3526
3527 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component)
3528 {
3529 char preload[32];
3530
3531 snprintf(preload, ARRAY_SIZE(preload), "%s Preload", dsp->cs_dsp.name);
3532 snd_soc_component_disable_pin(component, preload);
3533
> 3534 cs_dsp_init_debugfs(&dsp->cs_dsp, component->debugfs_root);
3535
3536 dsp->component = component;
3537
3538 return 0;
3539 }
3540 EXPORT_SYMBOL_GPL(wm_adsp2_component_probe);
3541

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip