public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v1 3/3] counter: Add STM based counter
       [not found] <20251208030413.3117660-4-daniel.lezcano@linaro.org>
@ 2025-12-08 20:25 ` kernel test robot
  2025-12-08 23:45 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-08 20:25 UTC (permalink / raw)
  To: Daniel Lezcano, wbg, robh, conor+dt, krzk+dt
  Cc: llvm, oe-kbuild-all, s32, devicetree, linux-kernel, linux-iio

Hi Daniel,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR 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: loongarch-randconfig-001-20251209 (https://download.01.org/0day-ci/archive/20251209/202512090408.Ju8SNkSq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6ec8c4351cfc1d0627d1633b02ea787bd29c77d8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251209/202512090408.Ju8SNkSq-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512090408.Ju8SNkSq-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/counter/nxp-stm-cnt.c:110:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     110 |         FIELD_MODIFY(STM_CR_CPS_MASK, &reg, prescaler);
         |         ^
>> drivers/counter/nxp-stm-cnt.c:119:9: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     119 |         return FIELD_GET(STM_CR_CPS_MASK, reg);
         |                ^
   drivers/counter/nxp-stm-cnt.c:128:11: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     128 |         return !!FIELD_GET(STM_CR_TEN, reg);
         |                  ^
   3 errors generated.


vim +/FIELD_MODIFY +110 drivers/counter/nxp-stm-cnt.c

   103	
   104	static void nxp_stm_cnt_set_prescaler(struct nxp_stm_cnt *stm_cnt, u8 prescaler)
   105	{
   106		u32 reg;
   107	
   108		reg = readl(STM_CR(stm_cnt->base));
   109	
 > 110		FIELD_MODIFY(STM_CR_CPS_MASK, &reg, prescaler);
   111	
   112		writel(reg, STM_CR(stm_cnt->base));
   113	}
   114	
   115	static u8 nxp_stm_cnt_get_prescaler(struct nxp_stm_cnt *stm_cnt)
   116	{
   117		u32 reg = readl(STM_CR(stm_cnt->base));
   118	
 > 119		return FIELD_GET(STM_CR_CPS_MASK, reg);
   120	}
   121	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 3/3] counter: Add STM based counter
       [not found] <20251208030413.3117660-4-daniel.lezcano@linaro.org>
  2025-12-08 20:25 ` [PATCH v1 3/3] counter: Add STM based counter kernel test robot
@ 2025-12-08 23:45 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-08 23:45 UTC (permalink / raw)
  To: Daniel Lezcano, wbg, robh, conor+dt, krzk+dt
  Cc: llvm, oe-kbuild-all, s32, devicetree, linux-kernel, linux-iio

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@intel.com/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@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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512090758.GOPbQ2xm-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-08 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251208030413.3117660-4-daniel.lezcano@linaro.org>
2025-12-08 20:25 ` [PATCH v1 3/3] counter: Add STM based counter kernel test robot
2025-12-08 23:45 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox