]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: use macro instead of magic number
authorHuazhong Tan <tanhuazhong@huawei.com>
Wed, 28 Aug 2019 14:23:06 +0000 (22:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2019 23:57:43 +0000 (16:57 -0700)
commit86b17f1e42187250312f4a5dcf92da1a61e96a31
tree35c55780a189d5156833e3899dc16f7d5cb03472
parentee2ccc76874c6ccd21369fe5fdb33d3db661f4cf
net: hns3: use macro instead of magic number

This patch uses macro to replace some magic number.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h