Skip to content

Commit a4f702b

Browse files
thugheskartben
authored andcommitted
include: kernel: Fix typo
It should be "will be called with" instead of "will be called will". Signed-off-by: Tom Hughes <tomhughes@chromium.org>
1 parent f610e38 commit a4f702b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/zephyr/kernel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6346,7 +6346,7 @@ static inline void k_cpu_atomic_idle(unsigned int key)
63466346
* This should be called when a thread has encountered an unrecoverable
63476347
* runtime condition and needs to terminate. What this ultimately
63486348
* means is determined by the _fatal_error_handler() implementation, which
6349-
* will be called will reason code K_ERR_KERNEL_OOPS.
6349+
* will be called with reason code K_ERR_KERNEL_OOPS.
63506350
*
63516351
* If this is called from ISR context, the default system fatal error handler
63526352
* 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)
63596359
* This should be called when the Zephyr kernel has encountered an
63606360
* unrecoverable runtime condition and needs to terminate. What this ultimately
63616361
* means is determined by the _fatal_error_handler() implementation, which
6362-
* will be called will reason code K_ERR_KERNEL_PANIC.
6362+
* will be called with reason code K_ERR_KERNEL_PANIC.
63636363
*/
63646364
#define k_panic() z_except_reason(K_ERR_KERNEL_PANIC)
63656365

0 commit comments

Comments
 (0)