RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
Subsystems (2)
Potnuri Bharat Teja
maintainerPATCH 1/1 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
Remove device specific debugfs entries immediately if LLD detaches a particular ULD device in case of fatal PCI errors.
Signed-off-by Potnuri Bharat Teja <[email protected]>
--- drivers/infiniband/hw/cxgb4/device.c | 1 + 1 file changed, 1 insertion(+)
drivers/infiniband/hw/cxgb4/device.c +1 -0
@@ -953,6 +953,7 @@ void c4iw_dealloc(struct uld_ctx *ctx)static void c4iw_remove (struct uld_ctx *ctx) {pr_debug ("c4iw_dev %p\n" , ctx->dev); +debugfs_remove_recursive (ctx->dev->debugfs_root);c4iw_unregister_device (ctx->dev);c4iw_dealloc (ctx); }
Signature · 1 line
2.24.0
Jason Gunthorpe
AppliedQuoted 7 lines · Potnuri Bharat Teja
Remove device specific debugfs entries immediately if LLD detaches a particular ULD device in case of fatal PCI errors.
Signed-off-by Potnuri Bharat Teja <[email protected]>--- drivers/infiniband/hw/cxgb4/device.c | 1 + 1 file changed, 1 insertion(+)
Applied to for-next, thanks
Jason