[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-edac
Subject: Re: [PATCH v2 for-next] EDAC: use edac_debugfs_remove_recursive instead of debugfs_remove
From: Borislav Petkov <bp () alien8 ! de>
Date: 2015-10-14 19:45:01
Message-ID: 20151014194501.GF8218 () pd ! tnic
[Download RAW message or body]
On Wed, Oct 14, 2015 at 09:49:24AM +0800, Tan Xiaojun wrote:
> debugfs_remove is used to remove a file or an empty directory from
> the debugfs filesystem, but mci->debugfs is not empty.
>
> This is not easily discovered, because debugfs_remove return nothing
> when failed. It can be test like below:
>
> 1)open EDAC config and open CONFIG_EDAC_DEBUG
> 2)insmod a edac_mc module (like i3000_edac or others in drivers/edac/)
> 3)rmmod this module
> 4)we can also see files under /sys/kernel/debug/edac/ like
> "fake_inject"
>
> Reported-by: Yun Wu (Abel) <wuyun.wu@huawei.com>
> Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Applied,
thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-edac" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic