Skip to content

Commit 4f60201

Browse files
Flavio Ceolinandrewboie
authored andcommitted
kernel: Use NULL instead of 0
MISRA-C rule 11.9 Signed-off-by: Flavio Ceolin <[email protected]>
1 parent aabd8e7 commit 4f60201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/work_q.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void k_work_q_start(struct k_work_q *work_q, k_thread_stack_t *stack,
2525
{
2626
k_queue_init(&work_q->queue);
2727
(void)k_thread_create(&work_q->thread, stack, stack_size, z_work_q_main,
28-
work_q, 0, 0, prio, 0, 0);
28+
work_q, NULL, NULL, prio, 0, 0);
2929

3030
k_thread_name_set(&work_q->thread, WORKQUEUE_THREAD_NAME);
3131
}

0 commit comments

Comments
 (0)