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

2019-01-24 Thread Rafael J. Wysocki
On Wednesday, January 23, 2019 1:49:00 PM CET Ulf Hansson wrote: > On Tue, 22 Jan 2019 at 16:23, 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

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

2019-01-23 Thread Ulf Hansson
On Tue, 22 Jan 2019 at 16:23, 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: "Rafael J. Wysocki" > Cc: Kevin Hilman >

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

2019-01-23 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2019 at 09:20:05AM +0100, Ulf Hansson wrote: > On Wed, 23 Jan 2019 at 08:59, Greg Kroah-Hartman > wrote: > > > > On Wed, Jan 23, 2019 at 08:44:36AM +0100, Ulf Hansson wrote: > > > On Tue, 22 Jan 2019 at 16:23, Greg Kroah-Hartman > > > wrote: > > > > > > > > When calling debugfs

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

2019-01-23 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 08:59, Greg Kroah-Hartman wrote: > > On Wed, Jan 23, 2019 at 08:44:36AM +0100, Ulf Hansson wrote: > > On Tue, 22 Jan 2019 at 16:23, Greg Kroah-Hartman > > wrote: > > > > > > When calling debugfs functions, there is no need to ever check the > > > return value. The

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

2019-01-23 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2019 at 08:44:36AM +0100, Ulf Hansson wrote: > On Tue, 22 Jan 2019 at 16:23, 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

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

2019-01-22 Thread Ulf Hansson
On Tue, 22 Jan 2019 at 16:23, 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. Doesn't this boils done to whether we want to care

[PATCH] power: domain: 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: "Rafael J. Wysocki" Cc: Kevin Hilman Cc: Ulf Hansson Cc: Len Brown Cc: linux...@vger.kernel.org