diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-11-23 14:11:15 +0100 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-11-24 23:52:04 +0900 |
commit | be19d9336995241f5c98d0abebff440fef03455e (patch) | |
tree | b8897bfb1e90077b7d81566a2c7641f6a99c810a /drivers/gpu/host1x/debug.c | |
parent | 4846e452084945891a770809f94b23f33eebcd8c (diff) |
drm/exynos/ipp: fix error return code
Propagate the returned 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: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
0 files changed, 0 insertions, 0 deletions