[FE training-materials-updates] Fixed forgotten KERN_ string

michael.opdenacker at free-electrons.com michael.opdenacker at free-electrons.com
Wed Mar 21 08:43:01 CET 2012


- Log -----------------------------------------------------------------
http://git.free-electrons.com/training-materials/commit/?id=82c42fa8f549203fbabdf2a2e4c74397fa9a0489

commit 82c42fa8f549203fbabdf2a2e4c74397fa9a0489
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Mar 21 08:41:56 2012 +0100

    Fixed forgotten KERN_ string

diff --git a/code/hello-param/hello_param.c b/code/hello-param/hello_param.c
index 60304df..007e15e 100644
--- a/code/hello-param/hello_param.c
+++ b/code/hello-param/hello_param.c
@@ -17,13 +17,13 @@ static int __init hello_init(void)
 {
     int i;
     for (i = 0; i < howmany; i++)
-    	pr_debug(KERN_ALERT "(%d) Hello, %s\n", i, whom);
+    	pr_debug("(%d) Hello, %s\n", i, whom);
     return 0;
 }
 
 static void __exit hello_exit(void)
 {
-    pr_debug(KERN_ALERT "Goodbye, cruel %s\n", whom);
+    pr_debug("Goodbye, cruel %s\n", whom);
 }
 
 module_init(hello_init);

-----------------------------------------------------------------------

Summary of changes:
 code/hello-param/hello_param.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


More information about the training-materials-updates mailing list