* [PATCH v2 2/2] rbtree_test: add __init/__exit annotations
@ 2013-03-29 20:46 Davidlohr Bueso
2013-03-29 21:29 ` Michel Lespinasse
0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2013-03-29 20:46 UTC (permalink / raw)
To: Andrew Morton, Michel Lespinasse; +Cc: LKML
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
---
lib/rbtree_test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c
index 9951503..122f02f 100644
--- a/lib/rbtree_test.c
+++ b/lib/rbtree_test.c
@@ -149,7 +149,7 @@ static void check_augmented(int nr_nodes)
}
}
-static int rbtree_test_init(void)
+static int __init rbtree_test_init(void)
{
int i, j;
cycles_t time1, time2, time;
@@ -222,7 +222,7 @@ static int rbtree_test_init(void)
return -EAGAIN; /* Fail will directly unload the module */
}
-static void rbtree_test_exit(void)
+static void __exit rbtree_test_exit(void)
{
printk(KERN_ALERT "test exit\n");
}
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 2/2] rbtree_test: add __init/__exit annotations
2013-03-29 20:46 [PATCH v2 2/2] rbtree_test: add __init/__exit annotations Davidlohr Bueso
@ 2013-03-29 21:29 ` Michel Lespinasse
0 siblings, 0 replies; 2+ messages in thread
From: Michel Lespinasse @ 2013-03-29 21:29 UTC (permalink / raw)
To: Davidlohr Bueso; +Cc: Andrew Morton, LKML
On Fri, Mar 29, 2013 at 1:46 PM, Davidlohr Bueso <davidlohr.bueso@hp.com> wrote:
> Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Reviewed-by: Michel Lespinasse <walken@google.com>
--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-29 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29 20:46 [PATCH v2 2/2] rbtree_test: add __init/__exit annotations Davidlohr Bueso
2013-03-29 21:29 ` Michel Lespinasse
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.