diff options
author | Julia Lawall <julia@diku.dk> | 2011-03-22 03:15:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 17:10:37 -0400 |
commit | e6937ee626dee9c66ae820f5cca11efca2933845 (patch) | |
tree | b55904b3443913e4207a6ed0de500d1447b8ccdb /drivers/net/sunqe.c | |
parent | 88e87be6ba528bd73522ecf0468fe32f1ee199e6 (diff) |
drivers/net/a2065.c: Convert release_resource to release_region/release_mem_region
Request_mem_region should be used with release_mem_region, not
release_resource.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression x,E;
@@
*x = request_mem_region(...)
... when != release_mem_region(x)
when != x = E
* release_resource(x);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunqe.c')
0 files changed, 0 insertions, 0 deletions