vDPA: fix 'cast to restricted le16' warnings in vdpa.c
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 22 Jul 2022 11:53:09 +0000 (19:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:26:08 +0000 (04:26 -0400)
commit79e0034cb3485e64622ec0aabf8a6f4f8143f47b
tree0952a5ec165b015875702a0488d4a1fb4ca2959c
parenta34bed37fc9d3da319bb75dfbf02a7d3e95e12de
vDPA: fix 'cast to restricted le16' warnings in vdpa.c

This commit fixes spars warnings: cast to restricted __le16
in function vdpa_dev_net_config_fill() and
vdpa_fill_stats_rec()

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Message-Id: <20220722115309.82746-7-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c