Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH] crypto: Add 2 missing __exit_p
@ 2014-05-29  7:54 Jean Delvare
  2014-06-20 18:41 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-05-29  7:54 UTC (permalink / raw)
  To: linux-crypto
  Cc: Herbert Xu, David S. Miller, Robert Jennings,
	Marcelo Henrique Cerri, Fionnuala Gunter

References to __exit functions must be wrapped with __exit_p.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Cc: Marcelo Henrique Cerri <mhcerri@linux.vnet.ibm.com>
Cc: Fionnuala Gunter <fin@linux.vnet.ibm.com>
---
 drivers/crypto/amcc/crypto4xx_core.c |    2 +-
 drivers/crypto/nx/nx-842.c           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-3.15-rc7.orig/drivers/crypto/amcc/crypto4xx_core.c	2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc7/drivers/crypto/amcc/crypto4xx_core.c	2014-05-28 16:03:06.856588584 +0200
@@ -1292,7 +1292,7 @@ static struct platform_driver crypto4xx_
 		.of_match_table = crypto4xx_match,
 	},
 	.probe		= crypto4xx_probe,
-	.remove		= crypto4xx_remove,
+	.remove		= __exit_p(crypto4xx_remove),
 };
 
 module_platform_driver(crypto4xx_driver);
--- linux-3.15-rc7.orig/drivers/crypto/nx/nx-842.c	2014-05-28 15:37:10.831538018 +0200
+++ linux-3.15-rc7/drivers/crypto/nx/nx-842.c	2014-05-28 16:02:44.926136000 +0200
@@ -1247,7 +1247,7 @@ static struct vio_device_id nx842_driver
 static struct vio_driver nx842_driver = {
 	.name = MODULE_NAME,
 	.probe = nx842_probe,
-	.remove = nx842_remove,
+	.remove = __exit_p(nx842_remove),
 	.get_desired_dma = nx842_get_desired_dma,
 	.id_table = nx842_driver_ids,
 };


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-20 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29  7:54 [PATCH] crypto: Add 2 missing __exit_p Jean Delvare
2014-06-20 18:41 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox