linux/drivers/media
Peter Senna Tschudin 0bd0dbee3f [media] omap3isp: Fix error return code in probe function
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>
[laurent.pinchart@ideasonboard.com Replaced EBUSY with ENODEV]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-27 14:18:54 -03:00
..
common [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
dvb-core [media] dvb_frontend: add multistream support 2012-09-23 20:59:32 -03:00
dvb-frontends [media] af9033: sleep on attach 2012-09-27 04:27:30 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] msp3400: convert struct i2c_msg initialization to C99 format 2012-09-27 07:39:31 -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] cx23885: Select drivers for Terratec Cinergy T PCIe Dual 2012-09-27 04:45:45 -03:00
platform [media] omap3isp: Fix error return code in probe function 2012-09-27 14:18:54 -03:00
radio [media] radio-si470x: convert struct i2c_msg initialization to C99 format 2012-09-27 07:40:43 -03:00
rc [media] winbond-cir: asynchronous tx 2012-09-25 14:08:46 -03:00
tuners [media] tua9001: enter full power save on attach 2012-09-27 04:26:07 -03:00
usb [media] rtl28xxu: add ID [0bda:2832] Realtek RTL2832U reference design 2012-09-27 10:49:13 -03:00
v4l2-core [media] videobuf2-core: Replace BUG_ON and return an error at vb2_queue_init() 2012-09-27 06:09:10 -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