kernel test robot
2020-Jul-27 22:53 UTC
[vhost:vhost 38/45] include/linux/vdpa.h:43:21: error: expected ';' at end of declaration list
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 84d40e4b4bc64456abf5ef5663871053b40e84ac commit: fee8fe6bd8ccacd27e963b71b4f943be3721779e [38/45] vdpa: make sure set_features in invoked for legacy config: x86_64-randconfig-a014-20200727 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8dc820393219c7ee440b4ec86c9a201301943276) 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 # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu git checkout fee8fe6bd8ccacd27e963b71b4f943be3721779e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp at intel.com> All errors (new ones prefixed by >>): In file included from drivers/vdpa/vdpa.c:13:>> include/linux/vdpa.h:43:21: error: expected ';' at end of declaration listbool features_valid. ^ ; 1 error generated. vim +43 include/linux/vdpa.h 29 30 /** 31 * vDPA device - representation of a vDPA device 32 * @dev: underlying device 33 * @dma_dev: the actual device that is performing DMA 34 * @config: the configuration ops for this device. 35 * @index: device index 36 * @features_valid: were features initialized? for legacy guests 37 */ 38 struct vdpa_device { 39 struct device dev; 40 struct device *dma_dev; 41 const struct vdpa_config_ops *config; 42 unsigned int index; > 43 bool features_valid. 44 }; 45 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 29919 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20200728/ad6cbc90/attachment-0001.gz>
Reasonably Related Threads
- [vhost:vhost 38/45] include/linux/vdpa.h:43:28: sparse: sparse: expected ; at end of declaration
- [vhost:vhost 38/45] include/linux/vdpa.h:43:21: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
- [PATCH v3 19/38] vdpa: make sure set_features is invoked for legacy
- [PATCH v2 19/24] vdpa: make sure set_features in invoked for legacy
- [PATCH v2 19/24] vdpa: make sure set_features in invoked for legacy