]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Modify inconsistent bit mask macros
authorJian Shen <shenjian15@huawei.com>
Thu, 19 Jul 2018 14:47:03 +0000 (15:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 15:44:23 +0000 (08:44 -0700)
commit6b4acdb4f2397b40e4f560be2513bcafb5f9521b
tree8b40aeb15ccf83a774500fe97008e655225e79ce
parent003f8a8cb0c7358266c3ba5cb6f99564ace7587a
net: hns3: Modify inconsistent bit mask macros

Use BIT() and GENMASK() to convert the bit mask, modify
the inconsistent ones, and remove useless ones.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h