]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: bitwise operator should use unsigned type
authorYonglong Liu <liuyonglong@huawei.com>
Thu, 4 Jul 2019 14:04:27 +0000 (22:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 22:39:38 +0000 (15:39 -0700)
commitc7155c5734947a576982b316434af3336d5b224a
tree56024cc2718a6f70b91a3533738435a55604bded
parent1572480e3e874af44a6ed0d3389c7df6fb2bc57e
net: hns3: bitwise operator should use unsigned type

There are some bitwise operator used signed type, this patch fixes
them with unsigned type.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c