Commit f24ba014 authored by Zhu Lingshan's avatar Zhu Lingshan Committed by Pengyuan Zhao
Browse files

vDPA: fix 'cast to restricted le16' warnings in vdpa.c

mainline inclusion
from mainline-v6.0-rc1
commit 79e0034c
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5WXCZ
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79e0034cb3485e64622ec0aabf8a6f4f8143f47b



----------------------------------------------------------------------

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

Signed-off-by: default avatarZhu Lingshan <lingshan.zhu@intel.com>
Reviewed-by: default avatarParav Pandit <parav@nvidia.com>
Message-Id: <20220722115309.82746-7-lingshan.zhu@intel.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarPengyuan Zhao <zhaopengyuan@hisilicon.com>
parent f8ad35cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment