2011-01-05 21:55:20

by Dennis Gilmore

[permalink] [raw]
Subject: [PATCH] crypto: use __devexit not __exit in n2_unregister_algs

From: dennis <[email protected]>

fixes fedora sparc build failure, thanks to kylem for helping with debugging

Signed-off-by: Dennis Gilmore <[email protected]>
---
drivers/crypto/n2_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c
index 88ee015..3372491 100644
--- a/drivers/crypto/n2_core.c
+++ b/drivers/crypto/n2_core.c
@@ -1542,7 +1542,7 @@ out:
return err;
}

-static void __exit n2_unregister_algs(void)
+static void __devexit n2_unregister_algs(void)
{
mutex_lock(&spu_lock);
if (!--algs_registered)
--
1.7.3.4


2011-01-05 21:38:27

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] crypto: use __devexit not __exit in n2_unregister_algs

From: Dennis Gilmore <[email protected]>
Date: Wed, 5 Jan 2011 15:36:27 -0600

> From: dennis <[email protected]>
>
> fixes fedora sparc build failure, thanks to kylem for helping with debugging
>
> Signed-off-by: Dennis Gilmore <[email protected]>

Acked-by: David S. Miller <[email protected]>

2011-01-06 06:16:06

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: use __devexit not __exit in n2_unregister_algs

On Wed, Jan 05, 2011 at 09:38:58PM +0000, David Miller wrote:
> From: Dennis Gilmore <[email protected]>
> Date: Wed, 5 Jan 2011 15:36:27 -0600
>
> > From: dennis <[email protected]>
> >
> > fixes fedora sparc build failure, thanks to kylem for helping with debugging
> >
> > Signed-off-by: Dennis Gilmore <[email protected]>
>
> Acked-by: David S. Miller <[email protected]>


Patch applied. Thanks a lot!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt