]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refine some macro definitions
authorGuojia Liao <liaoguojia@huawei.com>
Fri, 9 Aug 2019 02:31:18 +0000 (10:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 20:44:33 +0000 (13:44 -0700)
commit1b7eefec399ba813d8052f385451e940911f7a2a
tree93797f5c6f6fcead0c80e7a72e345fb1ea3beb56
parent16b693c32c939a51f3e15a0f5373d4fb5d6e3fd8
net: hns3: refine some macro definitions

Macro arguments should be enclosed in parentheses, in case of
expression argument, but parentheses of pure number in macro
definition should be removed for simplicity.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h