diff options
author | Guojia Liao <liaoguojia@huawei.com> | 2019-08-28 22:23:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-29 16:57:43 -0700 |
commit | 82f7d0576fa6d511ecbfea73688176b700ae0e91 (patch) | |
tree | e2b861377f37f1ccd36ce4f953919677ba39b545 /drivers/pcmcia/pcmcia_resource.c | |
parent | net: hns3: make some reusable codes into a function (diff) | |
download | linux-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/pcmcia/pcmcia_resource.c')
0 files changed, 0 insertions, 0 deletions