[lkml]   [2022]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdrivers/iio/light/cm32181.c:508:1: sparse: sparse: symbol 'cm32181_pm_ops' was not declared. Should it be static?
tree: master
head: 69dac8e431af26173ca0a1ebc87054e01c585bcc
commit: 68c1b3dd5c48b2323067f8c1f0649ae2f31ab20b iio: light: cm32181: Add PM support
date: 5 weeks ago
config: i386-randconfig-s001 (
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
git remote add linus
git fetch --no-tags linus master
git checkout 68c1b3dd5c48b2323067f8c1f0649ae2f31ab20b
# 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 drivers/iio/light/

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

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/light/cm32181.c:508:1: sparse: sparse: symbol 'cm32181_pm_ops' was not declared. Should it be static?

vim +/cm32181_pm_ops +508 drivers/iio/light/cm32181.c

> 508 DEFINE_SIMPLE_DEV_PM_OPS(cm32181_pm_ops, cm32181_suspend, cm32181_resume);

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-08-13 15:39    [W:0.023 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site