Re: [PATCH 1/6] powerpc: kernel: no need to check return value of debugfs_create functions

2020-03-05 Thread Michael Ellerman
On Sun, 2020-02-09 at 10:58:56 UTC, 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: Benjamin Herrenschmidt > Cc: Paul

[PATCH 1/6] powerpc: kernel: no need to check return value of debugfs_create functions

2020-02-09 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: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Hari Bathini Cc: