diff options
author | Julia Lawall <julia@diku.dk> | 2011-03-22 07:15:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 14:10:36 -0700 |
commit | 88e87be6ba528bd73522ecf0468fe32f1ee199e6 (patch) | |
tree | 067a74277788f507679184b9902c4dc127f0be72 /drivers/net/a2065.c | |
parent | 35d48903e9781975e823b359ee85c257c9ff5c1c (diff) |
drivers/net/ariadne.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/a2065.c')
0 files changed, 0 insertions, 0 deletions