linux/drivers/video/mb862xx
Peter Senna Tschudin 4aedf566f2 drivers/video/mb862xx/mb862xxfbdrv.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>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2012-09-22 21:41:51 +00:00
..
Makefile video: mb862xx: add support for controller's I2C bus adapter 2011-05-24 16:28:52 +02:00
mb862xx-i2c.c video: mb862xx-i2c: local functions should not be exposed globally 2012-05-08 16:57:23 +00:00
mb862xx_reg.h video: mb862xxfb: add support for L1 displaying 2011-05-24 16:28:52 +02:00
mb862xxfb.h video: mb862xxfb: add support for L1 displaying 2011-05-24 16:28:52 +02:00
mb862xxfb_accel.c mb862xxfb: update Valentin's email address 2010-04-07 08:38:04 -07:00
mb862xxfb_accel.h mb862xxfb: add acceleration support for Coral-P/Coral-PA. * imageblt * copyarea * fillrect 2009-12-16 07:20:01 -08:00
mb862xxfbdrv.c drivers/video/mb862xx/mb862xxfbdrv.c: fix error return code 2012-09-22 21:41:51 +00:00