diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-14 11:51:10 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-06-14 16:59:51 +0200 |
commit | 987d65d013561947282525dbf5425b2bc28b69e6 (patch) | |
tree | 40ab87a2b54dd1c6d89489381e2db9814abf02d0 /drivers/gpu/drm/sti | |
parent | de85ec271a864c05e99ad5ffbed9e95d1b65c757 (diff) |
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 <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614095110.3716-2-gregkh@linuxfoundation.org
Diffstat (limited to 'drivers/gpu/drm/sti')
0 files changed, 0 insertions, 0 deletions