linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm-platforms:timers/static_branch_removal 7/11] arch/arm/vdso/vgettimeofday.c:126:14: error: implicit declaration of function 'arch_counter_get_cntvct'; did you mean '__arch_counter_get_cntvct'?
@ 2019-03-16 16:19 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-03-16 16:19 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2611 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git timers/static_branch_removal
head:   ce4facc255a70307ec0c074c38bd0cbc63607069
commit: d80beac27c01437a51b1187eef307ffcd2562fc5 [7/11] clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d80beac27c01437a51b1187eef307ffcd2562fc5
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   arch/arm/vdso/vgettimeofday.c: In function 'get_ns':
>> arch/arm/vdso/vgettimeofday.c:126:14: error: implicit declaration of function 'arch_counter_get_cntvct'; did you mean '__arch_counter_get_cntvct'? [-Werror=implicit-function-declaration]
     cycle_now = arch_counter_get_cntvct();
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 __arch_counter_get_cntvct
   cc1: some warnings being treated as errors

vim +126 arch/arm/vdso/vgettimeofday.c

8512287a Nathan Lynch 2015-03-25  119  
8512287a Nathan Lynch 2015-03-25  120  static notrace u64 get_ns(struct vdso_data *vdata)
8512287a Nathan Lynch 2015-03-25  121  {
8512287a Nathan Lynch 2015-03-25  122  	u64 cycle_delta;
8512287a Nathan Lynch 2015-03-25  123  	u64 cycle_now;
8512287a Nathan Lynch 2015-03-25  124  	u64 nsec;
8512287a Nathan Lynch 2015-03-25  125  
8512287a Nathan Lynch 2015-03-25 @126  	cycle_now = arch_counter_get_cntvct();
8512287a Nathan Lynch 2015-03-25  127  
8512287a Nathan Lynch 2015-03-25  128  	cycle_delta = (cycle_now - vdata->cs_cycle_last) & vdata->cs_mask;
8512287a Nathan Lynch 2015-03-25  129  
8512287a Nathan Lynch 2015-03-25  130  	nsec = (cycle_delta * vdata->cs_mult) + vdata->xtime_clock_snsec;
8512287a Nathan Lynch 2015-03-25  131  	nsec >>= vdata->cs_shift;
8512287a Nathan Lynch 2015-03-25  132  
8512287a Nathan Lynch 2015-03-25  133  	return nsec;
8512287a Nathan Lynch 2015-03-25  134  }
8512287a Nathan Lynch 2015-03-25  135  

:::::: The code at line 126 was first introduced by commit
:::::: 8512287a8165592466cb9cb347ba94892e9c56a5 ARM: 8330/1: add VDSO user-space code

:::::: TO: Nathan Lynch <nathan_lynch@mentor.com>
:::::: CC: Russell King <rmk+kernel@arm.linux.org.uk>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68948 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

only message in thread, other threads:[~2019-03-16 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-16 16:19 [arm-platforms:timers/static_branch_removal 7/11] arch/arm/vdso/vgettimeofday.c:126:14: error: implicit declaration of function 'arch_counter_get_cntvct'; did you mean '__arch_counter_get_cntvct'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).