[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
lkp at intel.com
Fri Nov 27 15:01:15 PST 2026
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 at 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
More information about the linux-arm-kernel
mailing list