[bootlin/training-materials updates] master: kernel: concurrency: Fix spacing (d76e02c0)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:37 CEST 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/d76e02c0af98911c8b7b400b94be5bf77b66e213


commit d76e02c0af98911c8b7b400b94be5bf77b66e213
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Fri May 7 10:03:52 2021 +0200

    kernel: concurrency: Fix spacing
    a pointer should be written:
            struct foo *bar;
    instead of
            struct foo * bar;
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


 .../kernel-driver-development-concurrency.tex                       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex b/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
index b4efeb45..94effd48 100644
--- a/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
+++ b/slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
@@ -320,9 +320,9 @@ static unsigned int ulite_tx_empty
   \item Apply to a \code{void *} type on a few others.
   \item Set, clear, toggle a given bit:
-    \item \mint{c}+void set_bit(int nr, unsigned long * addr);+
-    \item \mint{c}+void clear_bit(int nr, unsigned long * addr);+
-    \item \mint{c}+void change_bit(int nr, unsigned long * addr);+
+    \item \mint{c}+void set_bit(int nr, unsigned long *addr);+
+    \item \mint{c}+void clear_bit(int nr, unsigned long *addr);+
+    \item \mint{c}+void change_bit(int nr, unsigned long *addr);+
   \item Test bit value:

More information about the training-materials-updates mailing list