diff options
author | Julia Lawall <julia@diku.dk> | 2011-03-22 07:15:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 21:10:37 (GMT) |
commit | e6937ee626dee9c66ae820f5cca11efca2933845 (patch) | |
tree | b55904b3443913e4207a6ed0de500d1447b8ccdb /drivers/net/jazzsonic.c | |
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/jazzsonic.c')
0 files changed, 0 insertions, 0 deletions