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

2019-01-23 Thread Masami Hiramatsu
On Wed, 23 Jan 2019 07:54:22 +0100 Greg Kroah-Hartman wrote: > On Wed, Jan 23, 2019 at 11:15:16AM +0900, Masami Hiramatsu wrote: > > On Tue, 22 Jan 2019 16:21:46 +0100 > > Greg Kroah-Hartman wrote: > > > > > When calling debugfs functions, there is no need to ever check the > > > return value.

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

2019-01-22 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2019 at 11:15:16AM +0900, Masami Hiramatsu wrote: > On Tue, 22 Jan 2019 16:21:46 +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

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

2019-01-22 Thread Masami Hiramatsu
On Tue, 22 Jan 2019 16:21:46 +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: "Naveen N. Rao" > Cc: Anil S

[PATCH] kprobes: 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: "Naveen N. Rao" Cc: Anil S Keshavamurthy Cc: "David S. Miller" Cc: Masami Hiramatsu Signed-off-by: Greg