net: hns3: Fixed incorrect type in assignment.
driver inclusion category: bugfix bugzilla: NA CVE: NA This patch fixes some incorrect type in assignment reported by sparse. Those sparse warning as below: - warning : restricted __le16 degrades to integer - warning : cast from restricted __le32 - warning : expected restricted __le32 - warning : cast from restricted __be32 - warning : cast from restricted __be16 - warning : cast to restricted __le16 Feature or Bugfix:Bugfix Signed-off-by:liaoguojia <liaoguojia@huawei.com> Reviewed-by:
lipeng <lipeng321@huawei.com> Reviewed-by:
Yunsheng Lin <linyunsheng@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Please register or sign in to comment