[openwrt/openwrt] ltq-deu: Fix section mismatches
LEDE Commits
lede-commits at lists.infradead.org
Sun Mar 18 08:34:14 PDT 2018
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/5587b8f451dd829349095701f0f363af5da12d99
commit 5587b8f451dd829349095701f0f363af5da12d99
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Mar 18 01:32:47 2018 +0100
ltq-deu: Fix section mismatches
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c | 8 +++----
package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c | 8 +++----
package/kernel/lantiq/ltq-deu/src/ifxmips_des.c | 8 +++----
package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h | 28 +++++++++++-----------
package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c | 8 +++----
.../kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c | 8 +++----
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c | 8 +++----
.../kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c | 8 +++----
8 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
index b51cf47..6c8d065 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
@@ -885,12 +885,12 @@ struct crypto_alg ifxdeu_ctr_rfc3686_aes_alg = {
};
-/*! \fn int __init ifxdeu_init_aes (void)
+/*! \fn int ifxdeu_init_aes (void)
* \ingroup IFX_AES_FUNCTIONS
* \brief function to initialize AES driver
* \return ret
*/
-int __init ifxdeu_init_aes (void)
+int ifxdeu_init_aes (void)
{
int ret = -ENOSYS;
@@ -952,11 +952,11 @@ aes_err:
return ret;
}
-/*! \fn void __exit ifxdeu_fini_aes (void)
+/*! \fn void ifxdeu_fini_aes (void)
* \ingroup IFX_AES_FUNCTIONS
* \brief unregister aes driver
*/
-void __exit ifxdeu_fini_aes (void)
+void ifxdeu_fini_aes (void)
{
crypto_unregister_alg (&ifxdeu_aes_alg);
crypto_unregister_alg (&ifxdeu_ecb_aes_alg);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c
index d0818dd..9faad94 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c
@@ -343,11 +343,11 @@ static struct crypto_alg ifxdeu_ecb_arc4_alg = {
}
};
-/*! \fn int __init ifxdeu_init_arc4(void)
+/*! \fn int ifxdeu_init_arc4(void)
\ingroup IFX_ARC4_FUNCTIONS
\brief initialize arc4 driver
*/
-int __init ifxdeu_init_arc4(void)
+int ifxdeu_init_arc4(void)
{
int ret = -ENOSYS;
@@ -376,11 +376,11 @@ ecb_arc4_err:
}
-/*! \fn void __exit ifxdeu_fini_arc4(void)
+/*! \fn void ifxdeu_fini_arc4(void)
\ingroup IFX_ARC4_FUNCTIONS
\brief unregister arc4 driver
*/
-void __exit ifxdeu_fini_arc4(void)
+void ifxdeu_fini_arc4(void)
{
crypto_unregister_alg (&ifxdeu_arc4_alg);
crypto_unregister_alg (&ifxdeu_ecb_arc4_alg);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_des.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_des.c
index 5b73b6a..beb6707 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_des.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_des.c
@@ -682,11 +682,11 @@ struct crypto_alg ifxdeu_cbc_des3_ede_alg = {
}
};
-/*! \fn int __init ifxdeu_init_des (void)
+/*! \fn int ifxdeu_init_des (void)
* \ingroup IFX_DES_FUNCTIONS
* \brief initialize des driver
*/
-int __init ifxdeu_init_des (void)
+int ifxdeu_init_des (void)
{
int ret = -ENOSYS;
@@ -761,11 +761,11 @@ cbc_des3_ede_err:
}
-/*! \fn void __exit ifxdeu_fini_des (void)
+/*! \fn void ifxdeu_fini_des (void)
* \ingroup IFX_DES_FUNCTIONS
* \brief unregister des driver
*/
-void __exit ifxdeu_fini_des (void)
+void ifxdeu_fini_des (void)
{
crypto_unregister_alg (&ifxdeu_des_alg);
crypto_unregister_alg (&ifxdeu_ecb_des_alg);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h
index c842d64..8045c20 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h
@@ -108,23 +108,23 @@
*/
-int __init ifxdeu_init_des (void);
-int __init ifxdeu_init_aes (void);
-int __init ifxdeu_init_arc4 (void);
-int __init ifxdeu_init_sha1 (void);
-int __init ifxdeu_init_md5 (void);
-int __init ifxdeu_init_sha1_hmac (void);
-int __init ifxdeu_init_md5_hmac (void);
+int ifxdeu_init_des (void);
+int ifxdeu_init_aes (void);
+int ifxdeu_init_arc4 (void);
+int ifxdeu_init_sha1 (void);
+int ifxdeu_init_md5 (void);
+int ifxdeu_init_sha1_hmac (void);
+int ifxdeu_init_md5_hmac (void);
int __init lqdeu_async_aes_init(void);
int __init lqdeu_async_des_init(void);
-void __exit ifxdeu_fini_des (void);
-void __exit ifxdeu_fini_aes (void);
-void __exit ifxdeu_fini_arc4 (void);
-void __exit ifxdeu_fini_sha1 (void);
-void __exit ifxdeu_fini_md5 (void);
-void __exit ifxdeu_fini_sha1_hmac (void);
-void __exit ifxdeu_fini_md5_hmac (void);
+void ifxdeu_fini_des (void);
+void ifxdeu_fini_aes (void);
+void ifxdeu_fini_arc4 (void);
+void ifxdeu_fini_sha1 (void);
+void ifxdeu_fini_md5 (void);
+void ifxdeu_fini_sha1_hmac (void);
+void ifxdeu_fini_md5_hmac (void);
void __exit ifxdeu_fini_dma(void);
void __exit lqdeu_fini_async_aes(void);
void __exit lqdeu_fini_async_des(void);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
index 47e1f49..55cea1c 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
@@ -276,11 +276,11 @@ static struct shash_alg ifxdeu_md5_alg = {
}
};
-/*! \fn int __init ifxdeu_init_md5 (void)
+/*! \fn int ifxdeu_init_md5 (void)
* \ingroup IFX_MD5_FUNCTIONS
* \brief initialize md5 driver
*/
-int __init ifxdeu_init_md5 (void)
+int ifxdeu_init_md5 (void)
{
int ret = -ENOSYS;
@@ -298,12 +298,12 @@ md5_err:
return ret;
}
-/*! \fn void __exit ifxdeu_fini_md5 (void)
+/*! \fn void ifxdeu_fini_md5 (void)
* \ingroup IFX_MD5_FUNCTIONS
* \brief unregister md5 driver
*/
-void __exit ifxdeu_fini_md5 (void)
+void ifxdeu_fini_md5 (void)
{
crypto_unregister_shash(&ifxdeu_md5_alg);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c
index ef2f6aa..46797c9 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c
@@ -352,11 +352,11 @@ static struct shash_alg ifxdeu_md5_hmac_alg = {
}
};
-/*! \fn int __init ifxdeu_init_md5_hmac (void)
+/*! \fn int ifxdeu_init_md5_hmac (void)
* \ingroup IFX_MD5_HMAC_FUNCTIONS
* \brief initialize md5 hmac driver
*/
-int __init ifxdeu_init_md5_hmac (void)
+int ifxdeu_init_md5_hmac (void)
{
int ret = -ENOSYS;
@@ -375,11 +375,11 @@ md5_hmac_err:
return ret;
}
-/** \fn void __exit ifxdeu_fini_md5_hmac (void)
+/** \fn void ifxdeu_fini_md5_hmac (void)
* \ingroup IFX_MD5_HMAC_FUNCTIONS
* \brief unregister md5 hmac driver
*/
-void __exit ifxdeu_fini_md5_hmac (void)
+void ifxdeu_fini_md5_hmac (void)
{
crypto_unregister_shash(&ifxdeu_md5_hmac_alg);
}
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
index 1471574..968dc6f 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
@@ -266,11 +266,11 @@ static struct shash_alg ifxdeu_sha1_alg = {
};
-/*! \fn int __init ifxdeu_init_sha1 (void)
+/*! \fn int ifxdeu_init_sha1 (void)
* \ingroup IFX_SHA1_FUNCTIONS
* \brief initialize sha1 driver
*/
-int __init ifxdeu_init_sha1 (void)
+int ifxdeu_init_sha1 (void)
{
int ret = -ENOSYS;
@@ -288,11 +288,11 @@ sha1_err:
return ret;
}
-/*! \fn void __exit ifxdeu_fini_sha1 (void)
+/*! \fn void ifxdeu_fini_sha1 (void)
* \ingroup IFX_SHA1_FUNCTIONS
* \brief unregister sha1 driver
*/
-void __exit ifxdeu_fini_sha1 (void)
+void ifxdeu_fini_sha1 (void)
{
crypto_unregister_shash(&ifxdeu_sha1_alg);
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
index 7287a82..791b966 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
@@ -342,11 +342,11 @@ static struct shash_alg ifxdeu_sha1_hmac_alg = {
};
-/*! \fn int __init ifxdeu_init_sha1_hmac (void)
+/*! \fn int ifxdeu_init_sha1_hmac (void)
* \ingroup IFX_SHA1_HMAC_FUNCTIONS
* \brief initialize sha1 hmac driver
*/
-int __init ifxdeu_init_sha1_hmac (void)
+int ifxdeu_init_sha1_hmac (void)
{
int ret = -ENOSYS;
@@ -365,11 +365,11 @@ sha1_err:
return ret;
}
-/*! \fn void __exit ifxdeu_fini_sha1_hmac (void)
+/*! \fn void ifxdeu_fini_sha1_hmac (void)
* \ingroup IFX_SHA1_HMAC_FUNCTIONS
* \brief unregister sha1 hmac driver
*/
-void __exit ifxdeu_fini_sha1_hmac (void)
+void ifxdeu_fini_sha1_hmac (void)
{
crypto_unregister_shash(&ifxdeu_sha1_hmac_alg);
More information about the lede-commits
mailing list