From a6f8fc326cb7c7b62dd76216cfb4d77a9c8c0deb Mon Sep 17 00:00:00 2001 From: Chris Pearson Date: Wed, 27 Oct 2021 12:46:43 -0700 Subject: [PATCH] Docs: Clarification of CONTAINER_OF This is a small reordering of the CONTAINER_OF description to clarify its purpose. Signed-off-by: Chris Pearson --- include/sys/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/util.h b/include/sys/util.h index c9db6a654f4..e1aa0b59b67 100644 --- a/include/sys/util.h +++ b/include/sys/util.h @@ -124,7 +124,7 @@ extern "C" { ((ptr) && ((ptr) >= &array[0] && (ptr) < &array[ARRAY_SIZE(array)])) /** - * @brief Get a pointer to a container structure from an element + * @brief Get a pointer to a structure containing the element * * Example: *