[bootlin/training-materials updates] master: kernel-serial-output: Match the instruction with the code snipped (7e70eac3)
Miquel Raynal
miquel.raynal at bootlin.com
Mon Jun 13 15:29:07 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/7e70eac3a2a7a1ac95f8b0c37935a8f88317475e
>---------------------------------------------------------------
commit 7e70eac3a2a7a1ac95f8b0c37935a8f88317475e
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Mon Jun 13 15:28:32 2022 +0200
kernel-serial-output: Match the instruction with the code snipped
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
7e70eac3a2a7a1ac95f8b0c37935a8f88317475e
labs/kernel-serial-iomem/kernel-serial-iomem.tex | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/labs/kernel-serial-iomem/kernel-serial-iomem.tex b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
index c6bf85e8..d4ce0bf9 100644
--- a/labs/kernel-serial-iomem/kernel-serial-iomem.tex
+++ b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
@@ -144,9 +144,9 @@ devices. Of course, this will be done in the \code{probe()} routine.
\subsection{Accessing device registers}
As we will have multiple registers to read, create a \code{reg_read()}
-routine, returning an \code{unsigned int} value, and taking a
-\code{serial} pointer to a \code{serial_dev} structure and an \code{int} register
-offset.
+routine, returning a \code{u32} value, and taking a \code{serial}
+pointer to a \code{serial_dev} structure and an \code{unsigned int}
+register offset.
Your prototype should look like:
\begin{verbatim}
More information about the training-materials-updates
mailing list