]> 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)
commit7779d2d9d975d1ffad6cc349c8b964e10e7967d8
tree56024cc2718a6f70b91a3533738435a55604bded
parent21e06f2377094e3e64bd7605425edf8ebda76747
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