linux/drivers/gpu/drm/rcar-du
Julia Lawall 6512f5fb0a drm: rcar-du: fix error return code
Propagate the error code on failure.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
2014-11-26 20:09:30 +02:00
..
Kconfig drm/rcar-du: Use struct videomode in platform data 2014-09-15 11:55:47 +03:00
Makefile drm/rcar-du: Add internal LVDS encoder support 2013-08-09 23:17:53 +02:00
rcar_du_crtc.c drm: rcar-du: fix error return code 2014-11-26 20:09:30 +02:00
rcar_du_crtc.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_drv.c drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_drv.h drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_encoder.c drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_encoder.h drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_group.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_group.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_kms.c drm/rcar: gem: dumb: pitch is an output 2014-11-13 13:27:26 +01:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_lvdscon.h drm/rcar-du: Add OF support 2014-09-15 11:55:47 +03:00
rcar_du_lvdsenc.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdsenc.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_plane.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_plane.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_regs.h drm/rcar-du: Add support for multiple groups 2013-08-09 23:17:50 +02:00
rcar_du_vgacon.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_lvds_regs.h drm/rcar-du: Add internal LVDS encoder support 2013-08-09 23:17:53 +02:00