[lkml]   [2019]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[tip:timers/core 34/34] drivers//clocksource/hyperv_timer.c:264:35: error: 'hv_sched_clock_offset' undeclared; did you mean 'sched_clock_register'?
tree: timers/core
head: b74e1d61dbc614ff35ef3ad9267c61ed06b09051
commit: b74e1d61dbc614ff35ef3ad9267c61ed06b09051 [34/34] clocksource/hyperv: Add Hyper-V specific sched clock function
config: i386-randconfig-g002-201933 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
git checkout b74e1d61dbc614ff35ef3ad9267c61ed06b09051
# save the attached .config to linux build tree
make ARCH=i386

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <>

All error/warnings (new ones prefixed by >>):

drivers//clocksource/hyperv_timer.c: In function 'read_hv_sched_clock_msr':
>> drivers//clocksource/hyperv_timer.c:264:35: error: 'hv_sched_clock_offset' undeclared (first use in this function); did you mean 'sched_clock_register'?
return read_hv_clock_msr(NULL) - hv_sched_clock_offset;
drivers//clocksource/hyperv_timer.c:264:35: note: each undeclared identifier is reported only once for each function it appears in
drivers//clocksource/hyperv_timer.c: In function 'hv_init_clocksource':
drivers//clocksource/hyperv_timer.c:334:2: error: 'hv_sched_clock_offset' undeclared (first use in this function); did you mean 'sched_clock_register'?
hv_sched_clock_offset = hyperv_cs->read(hyperv_cs);
drivers//clocksource/hyperv_timer.c: In function 'read_hv_sched_clock_msr':
>> drivers//clocksource/hyperv_timer.c:265:1: warning: control reaches end of non-void function [-Wreturn-type]

vim +264 drivers//clocksource/hyperv_timer.c

262 static u64 read_hv_sched_clock_msr(void)
263 {
> 264 return read_hv_clock_msr(NULL) - hv_sched_clock_offset;
> 265 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2019-08-22 04:26    [W:0.037 / U:1.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site