[FE training-materials-updates] pr_* and dev_* function: clarify pr_debug and dev_dbg
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Jun 13 16:07:13 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=de4b3830d2b68a26912631a2cdaee41a484f24cc
>---------------------------------------------------------------
commit de4b3830d2b68a26912631a2cdaee41a484f24cc
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Jun 13 16:05:28 2013 +0200
pr_* and dev_* function: clarify pr_debug and dev_dbg
- Mention that they are detailed in the next slide
- Otherwise the readers that ask themselves what's special
in them
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
de4b3830d2b68a26912631a2cdaee41a484f24cc
.../kernel-driver-development-debugging.tex | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex b/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
index f1dda11..1c4d926 100644
--- a/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
+++ b/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
@@ -10,20 +10,21 @@
\item The \code{pr_*()} family of functions: \code{pr_emerg()},
\code{pr_alert()}, \code{pr_crit()}, \code{pr_err()},
\code{pr_warning()}, \code{pr_notice()}, \code{pr_info()},
- \code{pr_cont()} and the special \code{pr_debug()}
+ \code{pr_cont()} \\
+ and the special \code{pr_debug()} (see next page)
\begin{itemize}
\item They take a classic format string with arguments
- \item defined in \code{include/linux/printk.h}
+ \item Defined in \code{include/linux/printk.h}
\end{itemize}
\item The \code{dev_*()} family of functions: \code{dev_emerg()},
\code{dev_alert()}, \code{dev_crit()}, \code{dev_err()},
- \code{dev_warning()}, \code{dev_notice()}, \code{dev_info()} and
- the special \code{dev_dbg()}
+ \code{dev_warning()}, \code{dev_notice()}, \code{dev_info()} \\
+ and the special \code{dev_dbg()} (see next page)
\begin{itemize}
\item They take a pointer to \code{struct device} as first
argument (covered later), and then a format string with
arguments
- \item defined in \code{include/linux/device.h}
+ \item Defined in \code{include/linux/device.h}
\item To be used in drivers integrated with the Linux device
model
\end{itemize}
More information about the training-materials-updates
mailing list