[mst-vhost:vhost 30/44] drivers/vdpa/mlx5/net/mlx5_vnet.c:1247:23: sparse: sparse: cast to restricted __le16

2022-01-08 Thread kernel test robot
/archive/20220108/202201082258.akrhnajx-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

Re: [mst-vhost:vhost 30/44] drivers/vdpa/mlx5/net/mlx5_vnet.c:1247:23: sparse: sparse: cast to restricted __le16

2022-01-08 Thread Michael S. Tsirkin
ing max data virtqueue > config: powerpc-allmodconfig > (https://download.01.org/0day-ci/archive/20220108/202201082258.akrhnajx-...@intel.com/config) > compiler: powerpc-linux-gcc (GCC) 11.2.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/mast

[PATCH] vdpa/mlx5: fix endian-ness for max vqs

2022-01-08 Thread Michael S. Tsirkin
sparse warnings: (new ones prefixed by >>) >> drivers/vdpa/mlx5/net/mlx5_vnet.c:1247:23: sparse: sparse: cast to >> restricted __le16 >> drivers/vdpa/mlx5/net/mlx5_vnet.c:1247:23: sparse: sparse: cast from >> restricted __virtio16 > 1247 num = le16_to_cpu(ndev->config.max_virtqu