lkml.org 
[lkml]   [2021]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[chenxing:rperier-timer 15/15] drivers/clocksource/timer-msc313e.c:42:21: error: field has incomplete type 'struct delay_timer'
tree:   git://github.com/linux-chenxing/linux.git rperier-timer
head: eaf15352146839d330f1e37f572478f214e68b64
commit: eaf15352146839d330f1e37f572478f214e68b64 [15/15] clocksource: msc313e: WIP changes
config: hexagon-buildonly-randconfig-r006-20211015 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6069a6a5049497a32a50a49661c2f4169078bdba)
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
# https://github.com/linux-chenxing/linux/commit/eaf15352146839d330f1e37f572478f214e68b64
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing rperier-timer
git checkout eaf15352146839d330f1e37f572478f214e68b64
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/clocksource/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/clocksource/timer-msc313e.c:42:21: error: field has incomplete type 'struct delay_timer'
struct delay_timer delay;
^
drivers/clocksource/timer-msc313e.c:42:9: note: forward declaration of 'struct delay_timer'
struct delay_timer delay;
^
>> drivers/clocksource/timer-msc313e.c:251:2: error: implicit declaration of function 'register_current_timer_delay' [-Werror,-Wimplicit-function-declaration]
register_current_timer_delay(&msc313e_delay->delay);
^
2 errors generated.


vim +42 drivers/clocksource/timer-msc313e.c

39
40 struct msc313e_delay {
41 void __iomem * base;
> 42 struct delay_timer delay;
43 };
44

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-15 20:01    [W:0.040 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site