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

2019-06-13 Thread Marc Gonzalez
On 13/06/2019 14:24, 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. Naive question: if callers are supposed to ignore the return

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

2019-06-13 Thread Greg Kroah-Hartman
On Thu, Jun 13, 2019 at 02:37:46PM +0200, Marc Gonzalez wrote: > On 13/06/2019 14:24, 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