]> asedeno.scripts.mit.edu Git - linux.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)
commit6f92bfd70a8ae545bc08941baa55316d8bfba514
tree35c55780a189d5156833e3899dc16f7d5cb03472
parenta582b78dfc33d211ecaadda4cb5765b382d9d682
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