]> Git Repo - linux.git/commit
drm: debugfs: make drm_debugfs_create_files() never fail
authorGreg Kroah-Hartman <[email protected]>
Fri, 14 Jun 2019 09:51:10 +0000 (11:51 +0200)
committerDaniel Vetter <[email protected]>
Fri, 14 Jun 2019 14:59:51 +0000 (16:59 +0200)
commit987d65d013561947282525dbf5425b2bc28b69e6
tree40ab87a2b54dd1c6d89489381e2db9814abf02d0
parentde85ec271a864c05e99ad5ffbed9e95d1b65c757
drm: debugfs: make drm_debugfs_create_files() never fail

As stated before, there is no need to care if a debugfs function
succeeds or not, and no code logic in the kernel should ever change
based on a debugfs function return value, so make
drm_debugfs_create_files() never fail.  If it encounters an
odd/rare/impossible error (i.e. out of memory, or a duplicate debugfs
filename to be created), just keep on moving as if nothing improper had
happened.

Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_debugfs.c
This page took 0.053479 seconds and 4 git commands to generate.