* [PATCH] crypto: ux50: Cocci spatch "resource_size.spatch"
@ 2013-05-22 19:38 Thomas Meyer
2013-05-28 9:53 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Meyer @ 2013-05-22 19:38 UTC (permalink / raw)
To: herbert, davem, linux-crypto, linux-kernel
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
diff -u -p a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1600,7 +1600,7 @@ static int ux500_cryp_remove(struct plat
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (res)
- release_mem_region(res->start, res->end - res->start + 1);
+ release_mem_region(res->start, resource_size(res));
kfree(device_data);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-28 9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 19:38 [PATCH] crypto: ux50: Cocci spatch "resource_size.spatch" Thomas Meyer
2013-05-28 9:53 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox