Skip to content

Commit

Permalink
documentation: labs: kernel api: improve accuracy of an expression
Browse files Browse the repository at this point in the history
Signed-off-by: yujiehan2002 <yujiehan2002@outlook.com>
  • Loading branch information
hanyujie2002 authored May 31, 2024
1 parent 94dbd7b commit 471d031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/teaching/labs/kernel_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 471d031

Please sign in to comment.