]> 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)
commit23aefaaf7a310eb8c80820869df8849bef758d8e
tree8b40aeb15ccf83a774500fe97008e655225e79ce
parentf7ebc7b5c05e650abd9d5b818c8e0c80f9d952b7
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