1
linux/drivers/media/dvb/ttpci
Julia Lawall 92d0d66c15 [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>
2010-10-21 07:54:29 -02:00
..
av7110_av.c [media] drivers/media/dvb/ttpci/av7110_av.c: Add missing error handling code 2010-10-21 07:54:29 -02:00
av7110_av.h
av7110_ca.c dvb: Push down BKL into ioctl functions 2010-05-17 05:27:04 +02:00
av7110_ca.h
av7110_hw.c
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c
av7110_v4l.c
av7110.c [media] i2c: Stop using I2C_CLASS_TV_DIGITAL 2010-10-21 07:54:26 -02:00
av7110.h
budget-av.c
budget-ci.c V4L/DVB: Technotrend S2-3200 ships with a TT 1500 remote 2010-06-01 01:23:18 -03:00
budget-core.c [media] i2c: Stop using I2C_CLASS_TV_DIGITAL 2010-10-21 07:54:26 -02:00
budget-patch.c
budget.c V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference" 2010-05-19 12:57:17 -03:00
budget.h
Kconfig V4L/DVB: fix Kconfig to depends on VIDEO_IR 2010-08-12 15:07:57 -03:00
Makefile
ttpci-eeprom.c
ttpci-eeprom.h