summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-xp/xpc_partition.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 20:32:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-12 13:37:03 +0200
commit5a2338dbf97fac3a93e2ffefa5ab907ac5a9ba56 (patch)
tree46188dd9ed03210e55d271bcdda5ad1007b6e5eb /drivers/misc/sgi-xp/xpc_partition.c
parent225afca60b8a21bb53ca461eef78a60958ff95e4 (diff)
lkdtm: no need to check return value of debugfs_create functions
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: Arnd Bergmann <arnd@arndb.de> Cc: linux-kernel@vger.kernel.org Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xpc_partition.c')
0 files changed, 0 insertions, 0 deletions