net: hsr: fix debugfs path to support multiple interfaces

Fix the path of hsr debugfs root directory to use the net device
name so that it can work with multiple interfaces. While at it,
also fix some typos.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
Murali Karicheri
2019-04-15 11:36:02 -04:00
提交者 David S. Miller
父节点 9c5f8a19b2
当前提交 3271273388
修改 3 个文件,包含 9 行新增9 行删除

查看文件

@@ -485,7 +485,7 @@ int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
goto fail;
mod_timer(&hsr->prune_timer, jiffies + msecs_to_jiffies(PRUNE_PERIOD));
res = hsr_debugfs_init(hsr);
res = hsr_debugfs_init(hsr, hsr_dev);
if (res)
goto fail;