commit | 4dbb845ddedff87fc1289ad0e2d780a4a7918356 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Aug 04 18:50:46 2012 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Aug 20 16:28:13 2012 +0800 |
tree | 2019b90c33a38259f93c4ada3167067ab026dd36 | |
parent | 33b58b01ac2b7aadbd5143c74b029aee0ce9ac33 [diff] |
drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data devm_kfree and devm_iounmap should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>