kernel test robot
2020-Jul-28 14:23 UTC
[vhost:vhost 38/45] include/linux/vdpa.h:43:28: sparse: sparse: expected ; at end of declaration
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 :::::: branch date: 5 hours ago :::::: commit date: 6 hours ago config: x86_64-randconfig-s021-20200727 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-94-geb6779f6-dirty git checkout fee8fe6bd8ccacd27e963b71b4f943be3721779e # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp at intel.com> sparse warnings: (new ones prefixed by >>) drivers/vdpa/vdpa.c: note: in included file:>> include/linux/vdpa.h:43:28: sparse: sparse: expected ; at end of declarationinclude/linux/vdpa.h:43:28: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/vdpa.h:43:28: sparse: sparse: got . -- drivers/vdpa/ifcvf/ifcvf_main.c: note: in included file (through drivers/vdpa/ifcvf/ifcvf_base.h):>> include/linux/vdpa.h:43:28: sparse: sparse: expected ; at end of declarationinclude/linux/vdpa.h:43:28: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/vdpa.h:43:28: sparse: sparse: got . -- drivers/vdpa/ifcvf/ifcvf_base.c: note: in included file (through drivers/vdpa/ifcvf/ifcvf_base.h):>> include/linux/vdpa.h:43:28: sparse: sparse: expected ; at end of declarationinclude/linux/vdpa.h:43:28: sparse: sparse: Expected } at end of struct-union-enum-specifier include/linux/vdpa.h:43:28: sparse: sparse: got . # https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?id=fee8fe6bd8ccacd27e963b71b4f943be3721779e git remote add vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git git remote update vhost git checkout fee8fe6bd8ccacd27e963b71b4f943be3721779e vim +43 include/linux/vdpa.h c25a26e653a61b Jason Wang 2020-05-29 29 961e9c84077f6c Jason Wang 2020-03-26 30 /** 961e9c84077f6c Jason Wang 2020-03-26 31 * vDPA device - representation of a vDPA device 961e9c84077f6c Jason Wang 2020-03-26 32 * @dev: underlying device 961e9c84077f6c Jason Wang 2020-03-26 33 * @dma_dev: the actual device that is performing DMA 961e9c84077f6c Jason Wang 2020-03-26 34 * @config: the configuration ops for this device. 961e9c84077f6c Jason Wang 2020-03-26 35 * @index: device index fee8fe6bd8ccac Michael S. Tsirkin 2020-07-27 36 * @features_valid: were features initialized? for legacy guests 961e9c84077f6c Jason Wang 2020-03-26 37 */ 961e9c84077f6c Jason Wang 2020-03-26 38 struct vdpa_device { 961e9c84077f6c Jason Wang 2020-03-26 39 struct device dev; 961e9c84077f6c Jason Wang 2020-03-26 40 struct device *dma_dev; 961e9c84077f6c Jason Wang 2020-03-26 41 const struct vdpa_config_ops *config; 961e9c84077f6c Jason Wang 2020-03-26 42 unsigned int index; fee8fe6bd8ccac Michael S. Tsirkin 2020-07-27 @43 bool features_valid. 961e9c84077f6c Jason Wang 2020-03-26 44 }; 961e9c84077f6c Jason Wang 2020-03-26 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: 32341 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20200728/300348ce/attachment-0001.gz>
Reasonably Related Threads
- [vhost:vhost 38/45] include/linux/vdpa.h:43:21: error: expected ';' at end of declaration list
- [vhost:vhost 38/45] include/linux/vdpa.h:43:21: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
- [PATCH V3 vhost next 00/10] VDPA support for Mellanox ConnectX devices
- [PATCH V3 vhost next 00/10] VDPA support for Mellanox ConnectX devices
- [PATCH V3 2/2] vdpa: implement config interrupt in IFCVF