diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2019-08-28 22:23:07 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-29 16:57:43 -0700 |
commit | 6125b52d2641497228e806c60b906769ab4b2c19 (patch) | |
tree | 43e81ccccd15183317ee69ea5518d3f90ede2b55 /drivers/net/nlmon.c | |
parent | net: hns3: use macro instead of magic number (diff) | |
download | linux-dev-6125b52d2641497228e806c60b906769ab4b2c19.tar.xz linux-dev-6125b52d2641497228e806c60b906769ab4b2c19.zip |
net: hns3: modify base parameter of kstrtouint in hclge_dbg_dump_tm_map
This patch replaces kstrtouint()'s patameter base with 0 in the
hclge_dbg_dump_tm_mac(), which makes it more flexible. Also
uses a macro to replace string "dump tm map", since it has been
used multiple times.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions