Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [arm64:for-next/perf 1/2] include/clocksource/arm_arch_timer.h:113:13: warning: 'read_sched_clock_is_arch_counter' defined but not used
@ 2026-11-27 23:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-27 23:01 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: oe-kbuild-all, linux-arm-kernel, Will Deacon

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/perf
head:   caee2c799f896b49f5247db3b2c4bf3926b0738a
commit: 71c11e8be95d2e890b656c9de42459ecd234205c [1/2] clocksource/drivers/arm_arch_timer: Add read_sched_clock_is_arch_counter() predicate
config: parisc-randconfig-2200-20261127 (https://download.01.org/0day-ci/archive/20261127/20261127235920.1xBAAn8s-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 10.5.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261127/20261127235920.1xBAAn8s-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/20261127235920.1xBAAn8s-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/soc/qcom/rpmh-rsc.c:30:
>> include/clocksource/arm_arch_timer.h:113:13: warning: 'read_sched_clock_is_arch_counter' defined but not used [-Wunused-function]
     113 | static bool read_sched_clock_is_arch_counter(const struct clock_read_data *crd)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/read_sched_clock_is_arch_counter +113 include/clocksource/arm_arch_timer.h

   112	
 > 113	static bool read_sched_clock_is_arch_counter(const struct clock_read_data *crd)
   114	{
   115		return false;
   116	}
   117	#endif
   118	

-- 
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:[~2026-11-27 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 23:01 [arm64:for-next/perf 1/2] include/clocksource/arm_arch_timer.h:113:13: warning: 'read_sched_clock_is_arch_counter' defined but not used 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