From 583fd8a79e74e5f59f938bde53fec0a53a80f79a Mon Sep 17 00:00:00 2001 From: Andrej Butok Date: Tue, 7 Nov 2023 14:30:28 +0100 Subject: [PATCH] doc: slist: fix duplicated sys_sfnode_flags_get() Replace duplicated sys_sfnode_flags_get() by sys_sfnode_flags_set(). Signed-off-by: Andrej Butok --- doc/kernel/data_structures/slist.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/kernel/data_structures/slist.rst b/doc/kernel/data_structures/slist.rst index add76e869a6..c1eb062ff83 100644 --- a/doc/kernel/data_structures/slist.rst +++ b/doc/kernel/data_structures/slist.rst @@ -108,7 +108,7 @@ ways identically to the slist API. It adds the ability to associate exactly two bits of user defined "flags" with each list node. These can be accessed and modified with -:c:func:`sys_sfnode_flags_get` and :c:func:`sys_sfnode_flags_get`. +:c:func:`sys_sfnode_flags_get` and :c:func:`sys_sfnode_flags_set`. Internally, the flags are stored unioned with the bottom bits of the next pointer and incur no SRAM storage overhead when compared with the simpler slist code.