All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-perf:for-next/perf 14/15] drivers/perf/arm_cspmu/nvidia_cspmu.c:192:2: error: call to undeclared function 'writel'; ISO C99 and later do not support implicit function declarations
@ 2025-03-14 23:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-14 23:05 UTC (permalink / raw)
  To: Robin Murphy
  Cc: llvm, oe-kbuild-all, Will Deacon, James Clark, Ilkka Koskinen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-next/perf
head:   a28f3cbfd11fcb13f826b33a4799c2ac77e70729
commit: 6de0298a3925f1e6e313430c45ae314a93f89ef6 [14/15] perf/arm_cspmu: Generalise event filtering
config: x86_64-buildonly-randconfig-002-20250315 (https://download.01.org/0day-ci/archive/20250315/202503150649.Dol8RBSh-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250315/202503150649.Dol8RBSh-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/202503150649.Dol8RBSh-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/perf/arm_cspmu/nvidia_cspmu.c:192:2: error: call to undeclared function 'writel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     192 |         writel(filter, cspmu->base0 + offset);
         |         ^
   drivers/perf/arm_cspmu/nvidia_cspmu.c:200:2: error: call to undeclared function 'writel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     200 |         writel(filter, cspmu->base0 + PMCCFILTR);
         |         ^
   2 errors generated.


vim +/writel +192 drivers/perf/arm_cspmu/nvidia_cspmu.c

   185	
   186	static void nv_cspmu_set_ev_filter(struct arm_cspmu *cspmu,
   187					   const struct perf_event *event)
   188	{
   189		u32 filter = nv_cspmu_event_filter(event);
   190		u32 offset = PMEVFILTR + (4 * event->hw.idx);
   191	
 > 192		writel(filter, cspmu->base0 + offset);
   193	}
   194	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-14 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14 23:05 [arm-perf:for-next/perf 14/15] drivers/perf/arm_cspmu/nvidia_cspmu.c:192:2: error: call to undeclared function 'writel'; ISO C99 and later do not support implicit function declarations kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.