OSDN Git Service

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)
commitb9a8f88373c586e357c8c203b657407437040e40
tree56024cc2718a6f70b91a3533738435a55604bded
parent354d0fab649d47045517cf7cae03d653a4dcb3b8
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