summaryrefslogtreecommitdiff
path: root/tools/hv
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-10-26 09:46:42 +0800
committerJakub Kicinski <kuba@kernel.org>2022-10-27 10:47:29 -0700
commita6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba (patch)
tree7078a8364f64a5652277d3d7a0c8daaf013d632d /tools/hv
parent6b1da9f7126f05e857da6db24c6a04aa7974d644 (diff)
downloadlinux-a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba.tar.gz
linux-a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba.tar.bz2
linux-a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba.zip
netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
Remove dir in nsim_dev_debugfs_init() when creating ports dir failed. Otherwise, the netdevsim device will not be created next time. Kernel reports an error: debugfs: Directory 'netdevsim1' with parent 'netdevsim' already present! Fixes: ab1d0cc004d7 ("netdevsim: change debugfs tree topology") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions