]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[CRYPTO] skcipher: Fix section mismatches
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 8 Mar 2008 12:29:43 +0000 (20:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 8 Mar 2008 12:29:43 +0000 (20:29 +0800)
The previous patch to move chainiv and eseqiv into blkcipher created
a section mismatch for the chainiv exit function which was also called
from __init.  This patch removes the __exit marking on it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/chainiv.c
crypto/eseqiv.c
include/crypto/internal/skcipher.h

index 0a7cac6e90891c3f7e77a5b2645e160f4fc7b1b2..6da3f577e4db1d6c81c95b1fc9bb3eb7a5424df4 100644 (file)
@@ -318,10 +318,8 @@ int __init chainiv_module_init(void)
 {
        return crypto_register_template(&chainiv_tmpl);
 }
-EXPORT_SYMBOL_GPL(chainiv_module_init);
 
-void __exit chainiv_module_exit(void)
+void chainiv_module_exit(void)
 {
        crypto_unregister_template(&chainiv_tmpl);
 }
-EXPORT_SYMBOL_GPL(chainiv_module_exit);
index 6f2cd063b6fef51e636cd5f55aef02902b800aea..b14f14e314b6cf3ada4bc0694aa9f5f364ab73e7 100644 (file)
@@ -251,10 +251,8 @@ int __init eseqiv_module_init(void)
 {
        return crypto_register_template(&eseqiv_tmpl);
 }
-EXPORT_SYMBOL_GPL(eseqiv_module_init);
 
 void __exit eseqiv_module_exit(void)
 {
        crypto_unregister_template(&eseqiv_tmpl);
 }
-EXPORT_SYMBOL_GPL(eseqiv_module_exit);
index a8f12644a13c73f6a7044ca0d1d206ca0b0565d9..ccc32bad9a890df12d3662401a4de87e60cdbaff 100644 (file)
@@ -68,7 +68,7 @@ void skcipher_geniv_exit(struct crypto_tfm *tfm);
 int __init eseqiv_module_init(void);
 void __exit eseqiv_module_exit(void);
 int __init chainiv_module_init(void);
-void __exit chainiv_module_exit(void);
+void chainiv_module_exit(void);
 
 static inline struct crypto_ablkcipher *skcipher_geniv_cipher(
        struct crypto_ablkcipher *geniv)