Commit 9bf4f005 authored by Thor Thayer's avatar Thor Thayer Committed by Borislav Petkov

EDAC: Use edac_debugfs_remove_recursive() in edac_debugfs_exit()

debugfs_remove() is used to remove a file or a directory from the
debugfs filesystem on an EDAC device exit. However edac_debugfs might
not be empty. This is similar to

  30f84a89 ("EDAC: Use edac_debugfs_remove_recursive()")

which changed the EDAC MCI code to use edac_debugfs_remove_recursive().
Suggested-by: b0R1sLAV's avatarBorislav Petkov <>
Signed-off-by: default avatarThor Thayer <>
Cc: linux-edac <>
Link: default avatarBorislav Petkov <>
parent f2b59ac6
......@@ -53,7 +53,7 @@ int __init edac_debugfs_init(void)
void edac_debugfs_exit(void)
int edac_create_debugfs_nodes(struct mem_ctl_info *mci)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment