[bootlin/training-materials updates] master: Module parameters: stop mentioning "invbool" (c1da4d9b)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Dec 12 11:23:01 CET 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/c1da4d9ba186a31dc32f0bb23068c326cea1ceee
>---------------------------------------------------------------
commit c1da4d9ba186a31dc32f0bb23068c326cea1ceee
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Dec 12 11:23:01 2019 +0100
Module parameters: stop mentioning "invbool"
It's used only in 2 drivers. Not worth spending time mentioning this type
and potentially having to show an example.
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
c1da4d9ba186a31dc32f0bb23068c326cea1ceee
.../kernel-driver-development-modules.tex | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 a115c1c8..3c5a6398 100644
--- a/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
+++ b/slides/kernel-driver-development-modules/kernel-driver-development-modules.tex
@@ -47,7 +47,7 @@ MODULE_AUTHOR("William Shakespeare");
\item Discarded when module compiled statically into the kernel,
or when module unloading support is not enabled.
\end{itemize}
-\item Example available on \url{https://frama.link/Q3CNXnom}
+\item Code of this example module available on \url{https://frama.link/Q3CNXnom}
\end{itemize}
\end{frame}
@@ -329,8 +329,8 @@ Source code available on:
\begin{minted}[fontsize=\small]{c}
module_param(
name, /* name of an already defined variable */
- type, /* either byte, short, ushort, int, uint, long, ulong,
- charp, bool or invbool. (checked at run time!) */
+ type, /* type for module_param (not a C type), mainly: short, ushort, int, uint, long, ulong,
+ charp and bool (checked at run time) */
perm /* for /sys/module/<module_name>/parameters/<param>,
0: no such module parameter value file */
);
More information about the training-materials-updates
mailing list