Messages in this thread | | | Date | Wed, 12 Jun 2019 13:36:31 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] lkdtm: no need to check return value of debugfs_create functions |
| |
On Tue, Jun 11, 2019 at 01:43:56PM -0700, Kees Cook wrote: > On Tue, Jun 11, 2019 at 08:32:13PM +0200, 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: Kees Cook <keescook@chromium.org> > > Cc: Arnd Bergmann <arnd@arndb.de> > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > Acked-by: Kees Cook <keescook@chromium.org>
Thanks for the review!
greg k-h
| |