linux/arch/arm/mach-omap2
Julia Lawall 0e6d8cad44 arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR
This code elsewhere returns a negative constant to an indicate an error,
while IS_ERR returns the result of a >= operation.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x;
@@

 if (...) { ...
- return IS_ERR(x);
+ return PTR_ERR(x);
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-01-27 16:25:35 -08:00
..
2011-01-06 19:58:28 -08:00
2010-02-15 09:27:05 -08:00
2010-12-07 16:26:57 -08:00
2011-01-13 17:18:52 +01:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:36 +03:00
2011-01-27 16:22:55 -08:00
2011-01-06 22:32:52 +00:00
2010-12-21 14:30:40 -08:00
2010-12-21 20:01:54 -07:00
2010-12-17 15:13:44 -08:00
2010-12-22 14:31:47 -08:00
2011-01-06 19:58:28 -08:00