OpenCloudOS-Kernel/drivers/media
Julia Lawall bfe40b79e9 [media] as102: fix error return code
Return a negative 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-01 07:00:51 -03:00
..
common [media] saa7146: embed video_device 2015-04-02 23:29:01 -03:00
dvb-core Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
dvb-frontends [media] tda10086: change typecast to u64 to avoid smatch warnings 2015-05-01 06:14:15 -03:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] cx25840: fix bad identing 2015-05-01 06:13:03 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] bttv: fix missing irq after reloading driver 2015-05-01 06:59:54 -03:00
platform [media] vivid: drop format description 2015-05-01 06:57:05 -03:00
radio [media] si4713: fix error return code 2015-05-01 07:00:31 -03:00
rc [media] redrat3: change return argument on redrat3_send_cmd() to int 2015-05-01 06:10:38 -03:00
tuners [media] r820t: fix identing 2015-05-01 06:03:25 -03:00
usb [media] as102: fix error return code 2015-05-01 07:00:51 -03:00
v4l2-core v4l2-ioctl: add a missing break at v4l_fill_fmtdesc() 2015-05-01 06:54:03 -03:00
Kconfig [media] dvbdev: add support for media controller 2015-02-13 21:10:12 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00