Julia Lawall
28693ec01d
OMAP: PM: SmartReflex: Add missing IS_ERR test
...
Function _sr_lookup, defined in the same file, returns ERR_PTR not NULL in
an error case.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@r@
identifier f;
@@
f(...) { ... return ERR_PTR(...); }
@@
identifier r.f, fld;
expression x;
statement S1,S2;
@@
x = f(...)
... when != IS_ERR(x)
(
if (IS_ERR(x) ||...) S1 else S2
|
*x->fld
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Kevin Hilman <khilman@ti.com>
2011-01-24 17:03:43 -08:00
..
2011-01-10 10:54:20 +02:00
2011-01-10 11:09:53 +02:00
2011-01-10 11:09:53 +02:00
2011-01-13 08:01:41 -08:00
2010-12-23 12:17:48 -08:00
2011-01-10 11:09:53 +02:00
2011-01-10 11:09:53 +02:00
2011-01-10 11:09:53 +02:00
2010-12-22 11:32:24 -08:00
2011-01-14 13:13:07 -08:00
2011-01-11 15:28:08 -08:00
2011-01-07 13:16:28 -08:00
2011-01-14 13:13:07 -08:00
2011-01-10 11:09:53 +02:00
2011-01-06 19:13:58 -08:00
2011-01-10 11:09:53 +02:00
2011-01-10 14:23:41 -08:00
2010-12-22 11:06:24 -08:00
2010-12-22 11:06:24 -08:00
2011-01-10 10:54:20 +02:00
2011-01-14 13:13:07 -08:00
2011-01-10 11:09:53 +02:00
2011-01-10 14:23:01 -08:00
2010-12-21 21:08:14 -07:00
2011-01-07 13:16:28 -08:00
2011-01-07 13:16:28 -08:00
2011-01-07 13:16:28 -08:00
2010-12-21 21:31:43 -07:00
2010-12-21 21:05:16 -07:00
2011-01-07 13:33:08 -08:00
2010-12-21 21:05:16 -07:00
2010-12-22 15:08:05 -08:00
2011-01-13 20:15:18 -08:00
2011-01-06 19:58:28 -08:00
2011-01-06 19:13:58 -08:00
2010-12-21 21:05:16 -07:00
2011-01-13 17:18:52 +01:00
2011-01-07 13:16:28 -08:00
2011-01-11 12:01:14 +09:00
2011-01-06 19:58:28 -08:00
2011-01-06 19:58:28 -08:00
2011-01-06 19:58:28 -08:00
2010-12-22 18:42:35 -08:00
2011-01-06 19:13:58 -08:00
2010-12-22 14:31:38 -08:00
2010-12-24 09:39:27 -08:00
2010-12-21 21:31:00 -07:00
2010-12-22 18:42:35 -08:00
2011-01-07 13:33:07 -08:00
2011-01-06 22:32:52 +00:00
2011-01-13 10:05:56 -08:00
2011-01-13 10:05:56 -08:00
2011-01-13 10:05:56 -08:00
2011-01-07 13:33:08 -08:00
2010-12-21 21:31:55 -07:00
2010-12-22 14:31:48 -08:00
2010-12-22 14:31:45 -08:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:31:55 -07:00
2010-12-21 21:31:55 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 21:05:16 -07:00
2010-12-21 22:37:28 -07:00
2010-12-22 09:53:26 -07:00
2011-01-07 13:33:10 -08:00
2011-01-13 10:05:56 -08:00
2010-12-22 14:31:40 -08:00
2011-01-24 17:03:43 -08:00
2011-01-07 13:33:06 -08:00
2010-12-21 21:08:14 -07:00
2010-12-21 21:08:14 -07:00
2010-12-21 21:08:14 -07:00
2011-01-06 19:13:58 -08:00
2011-01-07 13:16:28 -08:00
2010-12-22 14:31:47 -08:00
2011-01-06 19:58:28 -08:00