linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Zhongzhu Liu a582b78dfc net: hns3: code optimization for debugfs related to "dump reg"
For making the code more readable, this patch uses a array to
keep the information about the dumping register, and then uses
it to parse the parameter cmd_buf which passing into
hclge_dbg_dump_reg_cmd().

Also replaces parameter "base" of kstrtouint with 0 in the
hclge_dbg_dump_reg_common(), which makes it more flexible.

Signed-off-by: Zhongzhu Liu <liuzhongzhu@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>
2019-08-29 16:57:43 -07:00
..
hns3pf net: hns3: code optimization for debugfs related to "dump reg" 2019-08-29 16:57:43 -07:00
hns3vf net: hns3: modify redundant initialization of variable 2019-08-18 12:59:12 -07:00
hclge_mbx.h net: hns3: add handler for NCSI error mailbox 2019-08-01 13:32:12 -04:00
hnae3.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
hnae3.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_dcbnl.c
hns3_debugfs.c hns3: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
hns3_enet.c net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_enet.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_ethtool.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
Makefile