Skip to contentSkip to conversation

sound/soc/codecs/cs42l43.c:2253:1: sparse: sparse: symbol 'cs42l43_codec_pm_ops' was not declared. Should it be static?

DISCUSSION kernel test robot 1 participant 1 message Nov 9, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Charles,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6bc986ab839c844e78a2333a02e55f02c9e57935
commit: 2b59332ead54870ed0f1a8b122a1d640a4865fdc ASoC: cs42l43: Use new-style PM runtime macros
date:   3 months ago
config: x86_64-randconfig-123-20230907 (https://download.01.org/0day-ci/archive/20231109/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

sparse warnings: (new ones prefixed by >>)

>> sound/soc/codecs/cs42l43.c:2253:1: sparse: sparse: symbol 'cs42l43_codec_pm_ops' was not declared. Should it be static?

vim +/cs42l43_codec_pm_ops +2253 sound/soc/codecs/cs42l43.c

2252

> 2253	DEFINE_RUNTIME_DEV_PM_OPS(cs42l43_codec_pm_ops, NULL,

2254 cs42l43_codec_runtime_resume, NULL);
2255

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki