From 471d0314d68db8576ac0de3134713477824ce6ee Mon Sep 17 00:00:00 2001 From: hanyujie2002 Date: Fri, 31 May 2024 18:51:41 +0800 Subject: [PATCH] documentation: labs: kernel api: improve accuracy of an expression Signed-off-by: yujiehan2002 --- Documentation/teaching/labs/kernel_api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/teaching/labs/kernel_api.rst b/Documentation/teaching/labs/kernel_api.rst index f927e5cf3d9ca3..47e5c01bad50e9 100644 --- a/Documentation/teaching/labs/kernel_api.rst +++ b/Documentation/teaching/labs/kernel_api.rst @@ -208,7 +208,7 @@ only when the :c:macro:`DEBUG` macro is defined or if dynamic debugging is used. Memory allocation ----------------- -In Linux only resident memory can be allocated, using :c:func:`kmalloc` call. +In Linux, resident memory can only be allocated using the :c:func:`kmalloc` call. A typical :c:func:`kmalloc` call is presented below: .. code-block:: c