projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
first test
[lttv.git]
/
tests
/
kernel
/
module-template.c
diff --git
a/tests/kernel/module-template.c
b/tests/kernel/module-template.c
index 29f870b3749e3882c970d30f829f0f8f2051a8e1..e153a5b482d35d693cd478ebcc48a4c08898065b 100644
(file)
--- a/
tests/kernel/module-template.c
+++ b/
tests/kernel/module-template.c
@@
-12,7
+12,11
@@
static int ltt_test_init(void)
{
printk(KERN_ALERT "test init\n");
- return 0;
+
+
+ printf(KERN_ALERT "test end\n");
+
+ return -EAGAIN; /* Fail will directly unload the module */
}
static void ltt_test_exit(void)
This page took
0.023387 seconds
and
4
git commands to generate.