[bootlin/training-materials updates] master: Kernel slides: add details about how to choice ioctl command numbers (6f165cd5)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Apr 26 16:45:57 CEST 2021


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

>---------------------------------------------------------------

commit 6f165cd599778c6d6fe5a3c473fbf1c1b359e870
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Apr 26 16:45:57 2021 +0200

    Kernel slides: add details about how to choice ioctl command numbers
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
    Reported-by: Sascha Schröder <s.schroeder at avm.de>


>---------------------------------------------------------------

6f165cd599778c6d6fe5a3c473fbf1c1b359e870
 slides/kernel-frameworks2/kernel-frameworks2.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/slides/kernel-frameworks2/kernel-frameworks2.tex b/slides/kernel-frameworks2/kernel-frameworks2.tex
index a2497bc5..8725dbd1 100644
--- a/slides/kernel-frameworks2/kernel-frameworks2.tex
+++ b/slides/kernel-frameworks2/kernel-frameworks2.tex
@@ -191,7 +191,9 @@ Many more operations exist. All of them are optional.
     \item For example: changing the speed of a serial port, setting
       video output format, querying a device serial number... Used
       extensively in the V4L2 (video) and ALSA (sound) driver frameworks.
-    \item \code{cmd} is a number identifying the operation to perform
+    \item \code{cmd} is a number identifying the operation to perform.\\
+      See \kdochtml{driver-api/ioctl} for the recommended way of choosing
+      \code{cmd} numbers.
     \item \code{arg} is the optional argument passed as third argument
       of the \code{ioctl()} system call. Can be an integer, an
       address, etc.




More information about the training-materials-updates mailing list