]> 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)
commit8f6eb1906e456b6c294dabcf35adc9ec722b1ea4
tree35c55780a189d5156833e3899dc16f7d5cb03472
parent4f9f375130ae4a5cb4c5f01a6fd653699c8d2491
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