drivers/accel/rocket/rocket_drv.c:225:1: sparse: sparse: symbol 'rocket_pm_ops' was not declared. Should it be static?

kernel test robot lkp at intel.com
Sat Aug 2 17:10:22 UTC 2025


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-misc-next
head:   01ac6e4e53b6351df42c97d217b0d2dbeef5c917
commit: ed98261b41687323ffa02ca20fef1e60b38fd1aa accel/rocket: Add a new driver for Rockchip's NPU
date:   8 days ago
config: arm64-randconfig-r132-20250802 (https://download.01.org/0day-ci/archive/20250803/202508030021.uwdr4P08-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250803/202508030021.uwdr4P08-lkp@intel.com/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 <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508030021.uwdr4P08-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/accel/rocket/rocket_drv.c:225:1: sparse: sparse: symbol 'rocket_pm_ops' was not declared. Should it be static?

vim +/rocket_pm_ops +225 drivers/accel/rocket/rocket_drv.c

   224	
 > 225	EXPORT_GPL_DEV_PM_OPS(rocket_pm_ops) = {
   226		RUNTIME_PM_OPS(rocket_device_runtime_suspend, rocket_device_runtime_resume, NULL)
   227		SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
   228	};
   229	

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


More information about the dri-devel mailing list