[asoc:for-5.15 14040/14051] sound/soc/mediatek/mt8195/mt8195-afe-pcm.c:3260:32: warning: unused variable 'mt8195_afe_pm_ops'
From: kernel test robot
Date: Thu Aug 26 2021 - 06:17:21 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.15
head: a8946f032eeace6eeb4e51e518275010e5528660
commit: 6746cc858259985a945a07075a19ec4d24352407 [14040/14051] ASoC: mediatek: mt8195: add platform driver
config: hexagon-buildonly-randconfig-r006-20210826 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83)
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/sound.git/commit/?id=6746cc858259985a945a07075a19ec4d24352407
git remote add asoc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
git fetch --no-tags asoc for-5.15
git checkout 6746cc858259985a945a07075a19ec4d24352407
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> sound/soc/mediatek/mt8195/mt8195-afe-pcm.c:3260:32: warning: unused variable 'mt8195_afe_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops mt8195_afe_pm_ops = {
^
1 warning generated.
vim +/mt8195_afe_pm_ops +3260 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c
3259
> 3260 static const struct dev_pm_ops mt8195_afe_pm_ops = {
3261 SET_RUNTIME_PM_OPS(mt8195_afe_runtime_suspend,
3262 mt8195_afe_runtime_resume, NULL)
3263 };
3264
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip