[PATCH] edac: no need to check return value of debugfs_create functions

2019-01-22 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: linux-e...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --

Re: [PATCH] edac: no need to check return value of debugfs_create functions

2019-01-23 Thread Borislav Petkov
On Tue, Jan 22, 2019 at 04:21:16PM +0100, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Borislav Petkov > Cc: Mauro Carva