tree:
git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 352a81b71ea0a3ce8f929aa60afe369d738a0c6a
commit: 7a7a933edd6c3a6d5d64e08093f2d564104cefcd [2/9] drm/vmwgfx: Introduce VMware
mks-guest-stats
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add drm-drm-misc
git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-drm-misc for-linux-next
git checkout 7a7a933edd6c3a6d5d64e08093f2d564104cefcd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:35:
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c: In function 'vmw_execbuf_ioctl':
> drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h:99:9: error: implicit
declaration of function 'rdtsc' [-Werror=implicit-function-declaration]
99 | .t0 = rdtsc(), \
| ^~~~~
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:4410:2: note: in expansion of macro
'MKS_STAT_TIME_DECL'
4410 | MKS_STAT_TIME_DECL(MKSSTAT_KERN_EXECBUF);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/rdtsc +99 drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h
96
97 #define MKS_STAT_TIME_DECL(kern_cntr) \
98 struct mksstat_timer_t _##kern_cntr = { \
99 .t0 = rdtsc(), \
100 .slot = vmw_mksstat_get_kern_slot(current->pid, dev_priv) \
101 }
102
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org