[FE training-materials-updates] Kernel slides: minor improvements

Michael Opdenacker michael.opdenacker at free-electrons.com
Sat Feb 1 17:06:18 CET 2014

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=2ca976e4e4e403b6ef59075d2d9d5c1f6317956b


commit 2ca976e4e4e403b6ef59075d2d9d5c1f6317956b
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Sat Feb 1 15:16:43 2014 +0100

    Kernel slides: minor improvements
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 .../kernel-driver-development-memory.tex           |    1 +
 .../kernel-driver-development-modules.tex          |    4 ++--
 slides/kernel-frameworks/kernel-frameworks.tex     |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
index 11da2c3..413c617 100644
--- a/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
+++ b/slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
@@ -157,6 +157,7 @@
     \item Returns the virtual address of a free page, initialized to
+    \item \code{flags}: see the next pages for details.
   \item \mint{c}+unsigned long __get_free_page(int flags)+
diff --git a/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex b/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
index 96c4ec0..9a449c3 100644
--- a/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
+++ b/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
@@ -155,7 +155,7 @@ MODULE_AUTHOR("William Shakespeare");
   \item The below \code{Makefile} should be reusable for any single-file
     out-of-tree Linux module
   \item The source file is \code{hello.c}
-  \item Just run make to build the hello.ko file
+  \item Just run make to build the \code{hello.ko} file
@@ -188,7 +188,7 @@ endif
   \item The module Makefile is interpreted with \code{KERNELRELEASE}
     undefined, so it calls the kernel Makefile, passing the module
     directory in the \code{M} variable
-  \item the kernel Makefile knows how to compile a module, and thanks
+  \item The kernel Makefile knows how to compile a module, and thanks
     to the \code{M} variable, knows where the Makefile for our module
     is. The module Makefile is interpreted with \code{KERNELRELEASE}
     defined, so the kernel sees the \code{obj-m} definition.
diff --git a/slides/kernel-frameworks/kernel-frameworks.tex b/slides/kernel-frameworks/kernel-frameworks.tex
index 6e208fb..f050d6b 100644
--- a/slides/kernel-frameworks/kernel-frameworks.tex
+++ b/slides/kernel-frameworks/kernel-frameworks.tex
@@ -272,7 +272,7 @@ struct file_operations {
       \mint{c}+const void __user *from, unsigned long n);+
   \item The return value must be checked. Zero on success, non-zero on
-    failure. If non-zero, the convention is to return -\ksym{EFAULT}.
+    failure. If non-zero, the convention is to return \code{-}\ksym{EFAULT}.

More information about the training-materials-updates mailing list