Re: [PATCH v1 3/3] counter: Add STM based counter

From: kernel test robot

Date: Mon Dec 08 2025 - 18:45:36 EST


Hi Daniel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.18 next-20251208]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Lezcano/counters-Reorder-the-Makefile/20251208-110937
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20251208030413.3117660-4-daniel.lezcano%40linaro.org
patch subject: [PATCH v1 3/3] counter: Add STM based counter
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20251209/202512090758.GOPbQ2xm-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251209/202512090758.GOPbQ2xm-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512090758.GOPbQ2xm-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/counter/nxp-stm-cnt.c:303:32: warning: unused variable 'nxp_stm_cnt_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops nxp_stm_cnt_pm_ops = {
^
1 warning generated.


vim +/nxp_stm_cnt_pm_ops +303 drivers/counter/nxp-stm-cnt.c

302
> 303 static const struct dev_pm_ops nxp_stm_cnt_pm_ops = {
304 .suspend = nxp_stm_cnt_suspend,
305 .resume = nxp_stm_cnt_resume,
306 };
307

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