[vhost:vhost 38/45] include/linux/vdpa.h:43:21: error: expected ';' at end of declaration list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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 list
           bool 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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux