]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: print out command code when dump fails in debugfs
authorYufeng Mo <moyufeng@huawei.com>
Sat, 7 Mar 2020 03:42:48 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:36:13 +0000 (19:36 -0700)
commit7d5cc0a6c372a95fa33e0e156907c6441f7ed3f2
tree48b5a2da04736362cc359537ac420ced73c00975
parent5bbf73af618b3ab424cf613711c1c5af53e77a3d
net: hns3: print out command code when dump fails in debugfs

This patch adds a local variable to save the command code in
some dump cases which need to modify the command code, then
the failing command code can be print out for debugging.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
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