Julia Lawall
0fdd07f77f
VIDEO: Correct use of request_region/request_mem_region
...
request_region should be used with release_region, not request_mem_region.
Geert Uytterhoeven pointed out that in the case of drivers/video/gbefb.c,
the problem is actually the other way around; request_mem_region should be
used instead of request_region.
The semantic patch that finds/fixes this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@r1@
expression start;
@@
request_region(start,...)
@b1@
expression r1.start;
@@
request_mem_region(start,...)
@depends on !b1@
expression r1.start;
expression E;
@@
- release_mem_region
+ release_region
(start,E)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-12-02 23:58:32 +00:00
..
2009-09-23 07:39:50 -07:00
2009-11-16 11:50:41 +00:00
2009-11-12 07:25:56 -08:00
2009-02-11 14:25:34 -08:00
2009-07-08 09:19:49 -07:00
2009-06-16 19:48:00 -07:00
2009-06-16 19:47:57 -07:00
2009-09-23 07:39:57 -07:00
2009-06-16 19:47:59 -07:00
2009-11-12 07:26:00 -08:00
2009-06-23 12:50:05 -07:00
2009-10-06 08:31:50 -07:00
2009-11-12 07:25:56 -08:00
2009-09-23 07:39:57 -07:00
2009-09-23 07:39:55 -07:00
2009-04-01 08:59:31 -07:00
2009-06-16 19:47:59 -07:00
2009-07-08 10:30:03 -07:00
2009-04-01 08:59:31 -07:00
2009-04-01 08:59:32 -07:00
2009-04-21 13:41:47 -07:00
2009-11-12 07:25:56 -08:00
2009-11-12 07:25:57 -08:00
2009-09-23 07:39:56 -07:00
2009-03-24 16:38:25 -07:00
2009-06-16 19:48:03 -07:00
2009-06-16 19:48:03 -07:00
2009-02-10 11:27:59 +00:00
2009-06-16 04:56:30 -07:00
2009-01-12 20:56:31 +01:00
2009-01-12 20:56:31 +01:00
2009-01-12 20:56:32 +01:00
2009-01-12 20:56:32 +01:00
2009-06-16 19:47:59 -07:00
2009-09-21 15:14:58 +02:00
2009-05-06 16:36:10 -07:00
2009-06-16 04:56:34 -07:00
2009-06-16 04:56:35 -07:00
2009-06-16 04:56:31 -07:00
2009-06-16 19:47:58 -07:00
2009-04-13 15:04:30 -07:00
2009-07-03 15:45:29 +01:00
2009-06-12 21:46:53 +09:30
2009-12-01 16:32:19 -08:00
2009-06-16 19:48:00 -07:00
2009-09-23 07:39:51 -07:00
2009-09-27 11:39:25 -07:00
2009-05-06 16:36:10 -07:00
2009-02-05 12:56:46 -08:00
2009-09-30 08:03:00 -07:00
2009-07-22 08:49:22 -07:00
2009-07-08 09:20:11 -07:00
2009-07-08 14:18:35 -07:00
2009-12-02 23:58:32 +00:00
2009-07-07 11:50:57 +09:00
2009-06-16 19:47:58 -07:00
2009-09-21 15:14:58 +02:00
2009-11-12 07:25:58 -08:00
2009-06-16 04:56:37 -07:00
2009-09-23 07:39:51 -07:00
2009-06-16 19:47:58 -07:00
2009-08-07 10:39:56 -07:00
2009-06-16 19:48:00 -07:00
2009-06-16 04:56:38 -07:00
2009-09-23 07:39:50 -07:00
2009-06-16 19:48:00 -07:00
2009-03-24 16:38:21 -07:00
2009-03-24 16:38:21 -07:00
2009-08-20 10:29:26 +10:00
2009-03-17 09:30:36 +09:00
2009-06-13 00:09:09 +08:00
2009-06-13 00:09:09 +08:00
2009-09-12 00:16:27 +08:00
2009-06-16 19:48:00 -07:00
2009-09-23 07:39:56 -07:00
2009-06-16 19:47:59 -07:00
2009-09-23 07:39:57 -07:00
2009-04-13 15:04:29 -07:00
2009-09-15 09:37:12 -07:00
2009-04-13 15:04:29 -07:00
2009-04-01 08:59:30 -07:00
2009-06-30 18:56:00 -07:00
2009-09-15 21:08:22 +09:00
2009-04-13 15:04:29 -07:00
2009-07-09 20:44:44 -07:00
2009-04-01 08:59:30 -07:00
2009-07-08 10:30:03 -07:00
2009-04-01 08:59:31 -07:00
2009-05-06 16:36:10 -07:00
2009-06-16 19:48:00 -07:00
2009-06-15 18:01:48 +02:00
2009-04-01 08:59:31 -07:00
2009-09-23 07:39:57 -07:00
2009-04-01 08:59:34 -07:00
2009-11-12 07:25:56 -08:00
2009-04-01 08:59:31 -07:00
2009-06-16 19:48:00 -07:00
2009-04-13 15:04:29 -07:00
2009-07-08 09:19:49 -07:00
2009-08-27 12:31:18 -07:00
2009-06-17 00:30:02 -06:00