diff options
author | Julia Lawall <julia@diku.dk> | 2011-03-22 10:15:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-24 00:10:37 +0300 |
commit | e6937ee626dee9c66ae820f5cca11efca2933845 (patch) | |
tree | b55904b3443913e4207a6ed0de500d1447b8ccdb /drivers/net/vmxnet3 | |
parent | 88e87be6ba528bd73522ecf0468fe32f1ee199e6 (diff) | |
download | linux-e6937ee626dee9c66ae820f5cca11efca2933845.tar.xz |
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/vmxnet3')
0 files changed, 0 insertions, 0 deletions