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

Miquel Raynal miquel.raynal at bootlin.com
Fri May 7 12:01:26 CEST 2021

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


commit 5dec373c6b52a2c418f425cf5392439b42bb5e68
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