[FE training-materials-updates] Kernel module simple lab: make hint more visible
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Dec 4 06:21:31 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=ce2b46aced01b917482730e2ee410e392134f183
>---------------------------------------------------------------
commit ce2b46aced01b917482730e2ee410e392134f183
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Tue Dec 3 14:55:15 2013 +0100
Kernel module simple lab: make hint more visible
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
ce2b46aced01b917482730e2ee410e392134f183
labs/kernel-module-simple/kernel-module-simple.tex | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/labs/kernel-module-simple/kernel-module-simple.tex b/labs/kernel-module-simple/kernel-module-simple.tex
index fb5fd25..9840938 100644
--- a/labs/kernel-module-simple/kernel-module-simple.tex
+++ b/labs/kernel-module-simple/kernel-module-simple.tex
@@ -30,14 +30,16 @@ Hello Master. You are currently using Linux <version>.
... and displays a goodbye message when unloaded.
+Suggestion: you can look for files in kernel sources which
+contain \code{version} in their name, and see what they do.
+
You may just start with a module that displays a hello message, and
add version information later.
Caution: you must use a kernel variable or function to get version
information, and not just the value of a C macro. Otherwise, you will
only get the version of the kernel you used to build the
-module. Suggestion: you can look for files in kernel sources which
-contain \code{version} in their name, and see what they do.
+module.
\section{Building your module}
More information about the training-materials-updates
mailing list