Re: [PATCH 3/4] ALSA: hda: Refactor controller PM to use direct-complete optimization

From: kernel test robot
Date: Fri Oct 23 2020 - 11:32:14 EST


Hi Kai-Heng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on sound/for-next]
[also build test ERROR on v5.9 next-20201023]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Kai-Heng-Feng/ALSA-hda-Refactor-codec-PM-to-use-direct-complete-optimization/20201023-182616
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: x86_64-randconfig-a016-20201023 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 147b9497e79a98a8614b2b5eb4ba653b44f6b6f0)
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/0day-ci/linux/commit/8add6f1976839b15db076e618d38e3634e86c0b0
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kai-Heng-Feng/ALSA-hda-Refactor-codec-PM-to-use-direct-complete-optimization/20201023-182616
git checkout 8add6f1976839b15db076e618d38e3634e86c0b0
# 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@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> sound/pci/hda/hda_intel.c:1151:13: error: use of undeclared identifier 'azx_prepare'
.prepare = azx_prepare,
^
1 error generated.

vim +/azx_prepare +1151 sound/pci/hda/hda_intel.c

1149
1150 static const struct dev_pm_ops azx_pm = {
> 1151 .prepare = azx_prepare,
1152 SET_SYSTEM_SLEEP_PM_OPS(azx_suspend, azx_resume)
1153 #ifdef CONFIG_PM_SLEEP
1154 .freeze_noirq = azx_freeze_noirq,
1155 .thaw_noirq = azx_thaw_noirq,
1156 #endif
1157 SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, azx_runtime_idle)
1158 };
1159

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

Attachment: .config.gz
Description: application/gzip