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

2019-06-12 Thread Sudeep Dutt
On Tue, 2019-06-11 at 20:43 +0200, 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. > Thanks Greg. Reviewed-by: Sudeep Dutt > Cc:

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

2019-06-12 Thread Arnd Bergmann
On Tue, Jun 11, 2019 at 8:43 PM 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: Sudeep Dutt > Cc: Ashutosh Dixit > Cc: A

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

2019-06-11 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: Sudeep Dutt Cc: Ashutosh Dixit Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-H