linux/drivers/gpu/drm/msm/edp
Julia Lawall 6128f1bec4 drm/msm/dp: fix error return code
Return a negative 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>
2015-05-14 11:28:41 -04:00
..
edp_aux.c drm/msm: Fix a couple of 64-bit build warnings 2015-05-14 11:19:25 -04:00
edp_bridge.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp_connector.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp_ctrl.c drm/msm/dp: fix error return code 2015-05-14 11:28:41 -04:00
edp_phy.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp.c drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp.h drm/msm: Initial add eDP support in msm drm driver (v5) 2015-02-01 15:30:37 -05:00
edp.xml.h