OpenCloudOS-Kernel/drivers/media
Peter Senna Tschudin 9a888ba273 [media] drivers/media/platform/davinci/vpfe_capture.c: fix error return code
Convert a nonnegative error return code to a negative one, as returned
elsewhere in the function.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: Prabhakar Lad <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-23 13:46:08 -03:00
..
common [media] flexcop: Show the item to enable debug after the driver 2012-08-21 08:05:33 -03:00
dvb-core [media] Add the usb id of the Trekstor DVB-T Stick Terres 2.0 2012-09-18 12:54:57 -03:00
dvb-frontends [media] af9013: add debug for IF frequency 2012-09-18 12:51:12 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] mt9m032.c: introduce missing initialization 2012-09-14 11:10:59 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] ivtv-alsa: Remove EXPERIMENTAL from Kconfig and revise Kconfig help text 2012-09-18 15:34:59 -03:00
platform [media] drivers/media/platform/davinci/vpfe_capture.c: fix error return code 2012-09-23 13:46:08 -03:00
radio [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
rc [media] drivers/media/rc/ati_remote.c: fix error return code 2012-09-23 13:42:45 -03:00
tuners [media] mc44s803: implement get_if_frequency() 2012-09-18 12:54:44 -03:00
usb [media] Add the usb id of the Trekstor DVB-T Stick Terres 2.0 2012-09-18 12:54:57 -03:00
v4l2-core [media] media v4l2-mem2mem: Use list_first_entry 2012-09-18 12:14:05 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00