Skip to contentSkip to conversation

crypto: Add 2 missing __exit_p

PATCH In review Jean Delvare 2 participants 2 messages May 29, 2014 – Jun 20, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: Add 2 missing __exit_p

References to __exit functions must be wrapped with __exit_p.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Robert Jennings <[email protected]>
Cc Marcelo Henrique Cerri <[email protected]>
Cc Fionnuala Gunter <[email protected]>
---
 drivers/crypto/amcc/crypto4xx_core.c |    2 +-
 drivers/crypto/nx/nx-842.c           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/amcc/crypto4xx_core.c +1 -1
@@ -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);
drivers/crypto/nx/nx-842.c +1 -1
@@ -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,
 };
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer
#1 lore raw
Quoted 8 lines · Jean Delvare

References to __exit functions must be wrapped with __exit_p.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Robert Jennings <[email protected]>
Cc Marcelo Henrique Cerri <[email protected]>
Cc Fionnuala Gunter <[email protected]>

Patch applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt