aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2019-08-28 22:23:11 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-29 16:57:43 -0700
commit82f7d0576fa6d511ecbfea73688176b700ae0e91 (patch)
treee2b861377f37f1ccd36ce4f953919677ba39b545 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentnet: hns3: make some reusable codes into a function (diff)
downloadlinux-dev-82f7d0576fa6d511ecbfea73688176b700ae0e91.tar.xz
linux-dev-82f7d0576fa6d511ecbfea73688176b700ae0e91.zip
net: hns3: fix incorrect type in assignment.
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 Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Reviewed-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c')
0 files changed, 0 insertions, 0 deletions