From: Jean Delvare <jdelvare@suse.de>
To: linux-crypto@vger.kernel.org
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Robert Jennings <rcj@linux.vnet.ibm.com>,
Marcelo Henrique Cerri <mhcerri@linux.vnet.ibm.com>,
Fionnuala Gunter <fin@linux.vnet.ibm.com>
Subject: [PATCH] crypto: Add 2 missing __exit_p
Date: Thu, 29 May 2014 09:54:35 +0200 [thread overview]
Message-ID: <20140529095435.72cb6b6e@endymion.delvare> (raw)
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
next reply other threads:[~2014-05-29 7:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 7:54 Jean Delvare [this message]
2014-06-20 18:41 ` [PATCH] crypto: Add 2 missing __exit_p Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140529095435.72cb6b6e@endymion.delvare \
--to=jdelvare@suse.de \
--cc=davem@davemloft.net \
--cc=fin@linux.vnet.ibm.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=mhcerri@linux.vnet.ibm.com \
--cc=rcj@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox