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

2019-01-22 Thread Rafael J. Wysocki
On Tue, Jan 22, 2019 at 4:40 PM Greg Kroah-Hartman wrote: > > On Tue, Jan 22, 2019 at 04:28:42PM +0100, Rafael J. Wysocki wrote: > > On Tue, Jan 22, 2019 at 4:27 PM Greg Kroah-Hartman > > wrote: > > > > > > When calling debugfs functions, there is no need to ever check the > > > return value.

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

2019-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2019 at 04:28:42PM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 22, 2019 at 4:27 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

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

2019-01-22 Thread Rafael J. Wysocki
On Tue, Jan 22, 2019 at 4:27 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: "Rafael J. Wysocki" > Cc: Len Brown >

[PATCH] acpi: 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: Len Brown Cc: Tony Luck Cc: Borislav Petkov Cc: Yangtao Li Cc: