diff options
author | Julia Lawall <julia@diku.dk> | 2010-10-02 10:59:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:29 -0200 |
commit | 92d0d66c1515c8ee3b700ab3d610587c71fe497f (patch) | |
tree | cdc97edaa400a642d21806415b335d90a8cd41d7 /tools | |
parent | bdd1751b49be2860cc8c6a61e8fadda0caf22e5a (diff) |
[media] drivers/media/dvb/ttpci/av7110_av.c: Add missing error handling code
Extend the error handling code with operations found in other nearby error
handling code.
A simplified version of the sematic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r exists@
@r@
statement S1,S2,S3;
constant C1,C2,C3;
@@
*if (...)
{... S1 return -C1;}
...
*if (...)
{... when != S1
return -C2;}
...
*if (...)
{... S1 return -C3;}
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions