vDPA: fix spars cast warning in vdpa_dev_net_mq_config_fill
authorZhu Lingshan <lingshan.zhu@intel.com>
Thu, 29 Sep 2022 01:45:54 +0000 (09:45 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 8 Oct 2022 00:00:43 +0000 (20:00 -0400)
commit35b37c33eb75f532606e8d333a4eb63d4c22401b
treef4f3a6584756e9c0e021a4f12d22c248b40c4509
parent9d97aa124cde0264587b034bc34438acc2b44ecf
vDPA: fix spars cast warning in vdpa_dev_net_mq_config_fill

This commit fixes spars warnings: cast to restricted __le16
in function vdpa_dev_net_mq_config_fill()

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220929014555.112323-6-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c