diff mbox

use __devexit not __exit in n2_unregister_algs fixes build failure on fedora

Message ID 20110105140510.3d0a8d29@athosian.ausil.us
State Changes Requested
Delegated to: David Miller
Headers show

Commit Message

Dennis Gilmore Jan. 5, 2011, 8:05 p.m. UTC
Kernel builds on fedora have been failing with 

`.exit.text' referenced in section `.devexit.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
+ /usr/lib/rpm/debugedit -b /builddir/build/BUILD -d /usr/src/debug -i .tmp_vmlinux1
Failed to open input file '.tmp_vmlinux1': No such file or directory

the attached patch fixes building.


Dennis

Comments

David Miller Jan. 5, 2011, 8:40 p.m. UTC | #1
From: Dennis Gilmore <dennis@ausil.us>
Date: Wed, 5 Jan 2011 14:05:10 -0600

> Kernel builds on fedora have been failing with 
> 
> `.exit.text' referenced in section `.devexit.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
> + /usr/lib/rpm/debugedit -b /builddir/build/BUILD -d /usr/src/debug -i .tmp_vmlinux1
> Failed to open input file '.tmp_vmlinux1': No such file or directory
> 
> the attached patch fixes building.

Please read Documentation/SubmittingPatches to learn how to write a proper
commit message for your patch, in particular you need to add a proper
"Signed-off-by: " tag.

Also, this patch, as it's a crypto driver patch, needs to be sent to
linux-crypto@vger.kernel.org and Herber Xu (herbert@gondoa.apana.org.au)
the crypto layer maintainer.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

From 56a2432f60ea0a0c85a93b0951ae8507e5b85270 Mon Sep 17 00:00:00 2001
From: dennis <dennis@daedalus.ausil.us>
Date: Wed, 5 Jan 2011 19:43:25 +0000
Subject: [PATCH] use __devexit not __exit in n2_unregister_algs fixes build failure on fedora

thanks to kylem for helping with debugging
---
 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.6.6.1