Julia Lawall
d54690fec7
arch/arm/plat-pxa/dma.c: correct NULL test
...
Test the just-allocated value for NULL rather than some other value.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression x,y;
statement S;
@@
x = \(kmalloc\|kcalloc\|kzalloc\)(...);
(
if ((x) == NULL) S
|
if (
- y
+ x
== NULL)
S
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-05-01 11:33:00 +01:00
..
2010-04-07 21:11:29 +01:00
2010-03-30 22:02:32 +09:00
2010-04-29 17:17:35 -07:00
2010-04-21 08:45:21 +01:00
2010-05-01 11:32:57 +01:00
2010-04-21 08:45:21 +01:00
2010-03-30 22:02:32 +09:00
2010-04-14 11:22:44 +01:00
2010-04-07 21:11:27 +01:00
2010-04-07 11:03:06 -07:00
2010-03-08 20:21:04 +00:00
2010-04-07 21:11:28 +01:00
2010-02-25 22:09:41 +00:00
2010-03-01 09:15:15 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-25 22:09:41 +00:00
2010-03-22 12:03:05 +08:00
2010-02-25 22:09:41 +00:00
2010-03-08 20:21:04 +00:00
2010-03-08 20:21:04 +00:00
2010-03-08 20:21:04 +00:00
2010-04-08 10:47:05 +01:00
2010-03-19 11:18:27 +01:00
2010-03-08 20:21:04 +00:00
2010-03-08 20:21:04 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-27 08:27:26 -07:00
2010-04-27 08:27:26 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 22:21:52 +01:00
2010-03-30 22:02:32 +09:00
2010-03-08 20:21:04 +00:00
2010-03-30 22:02:32 +09:00
2010-03-12 16:04:50 -08:00
2010-03-15 22:43:12 +00:00
2010-03-07 22:56:19 +00:00
2010-03-15 23:11:41 +00:00
2010-03-15 23:11:41 +00:00
2010-03-12 16:04:50 -08:00
2010-03-08 20:21:04 +00:00
2010-05-01 11:32:59 +01:00
2010-03-15 12:06:47 +09:00
2010-03-30 22:02:32 +09:00
2010-03-08 20:24:11 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-21 08:45:21 +01:00
2010-04-21 08:45:21 +01:00
2010-04-08 10:47:05 +01:00
2010-03-08 20:21:04 +00:00
2010-04-30 09:25:07 -07:00
2010-05-01 11:33:00 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-01 11:32:58 +01:00
2010-04-14 11:11:30 +01:00
2010-04-28 22:21:52 +01:00
2010-03-08 20:21:04 +00:00