From fdf184858e67fe7af0ea6a8513a5b8ab8427f026 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 1 May 2020 12:37:51 +0300 Subject: [PATCH] kernel: Fix k_thread_resource_pool_assign() documentation The k_thread_resource_pool_assign() parameters were incorrectly documented. Part of the thread parameter description should have been in memory pool variable documentation. Signed-off-by: Jukka Rissanen --- include/kernel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/kernel.h b/include/kernel.h index a0589a32b70..9137666ff4b 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -813,9 +813,9 @@ extern FUNC_NORETURN void k_thread_user_mode_enter(k_thread_entry_t entry, * Changing a thread's resource pool will not migrate allocations from the * previous pool. * - * @param thread Target thread to assign a memory pool for resource requests, - * or NULL if the thread should no longer have a memory pool. - * @param pool Memory pool to use for resources. + * @param thread Target thread to assign a memory pool for resource requests. + * @param pool Memory pool to use for resources, + * or NULL if the thread should no longer have a memory pool. */ static inline void k_thread_resource_pool_assign(struct k_thread *thread, struct k_mem_pool *pool)