Searched hist:b792e64021ecdefd27b84eb235d59b0476d4255c (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/ |
H A D | drm_debugfs_crc.c | diff b792e64021ecdefd27b84eb235d59b0476d4255c Thu Jun 13 15:34:39 CEST 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> drm: 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.
Because there is no need to check these functions, a number of local functions can be made to return void to simplify things as nothing can fail.
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/20190613133439.GA6715@kroah.com
|
H A D | drm_internal.h | diff b792e64021ecdefd27b84eb235d59b0476d4255c Thu Jun 13 15:34:39 CEST 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> drm: 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.
Because there is no need to check these functions, a number of local functions can be made to return void to simplify things as nothing can fail.
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/20190613133439.GA6715@kroah.com
|
H A D | drm_connector.c | diff b792e64021ecdefd27b84eb235d59b0476d4255c Thu Jun 13 15:34:39 CEST 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> drm: 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.
Because there is no need to check these functions, a number of local functions can be made to return void to simplify things as nothing can fail.
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/20190613133439.GA6715@kroah.com
|
H A D | drm_drv.c | diff b792e64021ecdefd27b84eb235d59b0476d4255c Thu Jun 13 15:34:39 CEST 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> drm: 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.
Because there is no need to check these functions, a number of local functions can be made to return void to simplify things as nothing can fail.
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/20190613133439.GA6715@kroah.com
|
H A D | drm_crtc.c | diff b792e64021ecdefd27b84eb235d59b0476d4255c Thu Jun 13 15:34:39 CEST 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> drm: 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.
Because there is no need to check these functions, a number of local functions can be made to return void to simplify things as nothing can fail.
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/20190613133439.GA6715@kroah.com
|