From a4f702b8575370271289f75a3071f16628686d7b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 11 Jun 2025 14:58:08 -0700 Subject: [PATCH] include: kernel: Fix typo It should be "will be called with" instead of "will be called will". Signed-off-by: Tom Hughes --- include/zephyr/kernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index f54a07e68ae..e8f627833bf 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -6346,7 +6346,7 @@ static inline void k_cpu_atomic_idle(unsigned int key) * This should be called when a thread has encountered an unrecoverable * runtime condition and needs to terminate. What this ultimately * means is determined by the _fatal_error_handler() implementation, which - * will be called will reason code K_ERR_KERNEL_OOPS. + * will be called with reason code K_ERR_KERNEL_OOPS. * * If this is called from ISR context, the default system fatal error handler * will treat it as an unrecoverable system error, just like k_panic(). @@ -6359,7 +6359,7 @@ static inline void k_cpu_atomic_idle(unsigned int key) * This should be called when the Zephyr kernel has encountered an * unrecoverable runtime condition and needs to terminate. What this ultimately * means is determined by the _fatal_error_handler() implementation, which - * will be called will reason code K_ERR_KERNEL_PANIC. + * will be called with reason code K_ERR_KERNEL_PANIC. */ #define k_panic() z_except_reason(K_ERR_KERNEL_PANIC)