Skip to content
Snippets Groups Projects
Commit 8bc358e9 authored by liaoguojia's avatar liaoguojia Committed by 谢秀奇
Browse files

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: default avatarliaoguojia <liaoguojia@huawei.com>
Reviewed-by: default avatarlipeng <lipeng321@huawei.com>
Reviewed-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 5cc236fd
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment