Hi Stefano, I love your patch! Yet something to improve: [auto build test ERROR on vhost/linux-next] [also build test ERROR on linus/master v5.11-rc6 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Stefano-Garzarella/vdpa-add-vdpa-simulator-for-block-device/20210205-020448 base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next config: parisc-randconfig-r005-20210204 (attached as .config) compiler: hppa-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 # https://github.com/0day-ci/linux/commit/17cf2b1e6be083a27f43414cc0f2524cf81fff60 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stefano-Garzarella/vdpa-add-vdpa-simulator-for-block-device/20210205-020448 git checkout 17cf2b1e6be083a27f43414cc0f2524cf81fff60 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'mlx5_vdpa_get_config': >> drivers/vdpa/mlx5/net/mlx5_vnet.c:1810:10: error: expected ';' before '}' token 1810 | return 0 | ^ | ; 1811 | } | ~ vim +1810 drivers/vdpa/mlx5/net/mlx5_vnet.c 1798 1799 static int mlx5_vdpa_get_config(struct vdpa_device *vdev, unsigned int offset, void *buf, 1800 unsigned int len) 1801 { 1802 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); 1803 struct mlx5_vdpa_net *ndev = to_mlx5_vdpa_ndev(mvdev); 1804 1805 if (offset + len > sizeof(struct virtio_net_config)) 1806 return -EINVAL; 1807 1808 memcpy(buf, (u8 *)&ndev->config + offset, len); 1809 > 1810 return 0 1811 } 1812 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip