From 7aefa3d33456311cc48554264c11f050c27ff083 Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Tue, 2 Mar 2021 06:18:29 -0600 Subject: [PATCH] include: kernel: fix checkpatch line spacing warning checkpatch misinterprets the macro that generates event data structures as being code rather than more data. This code has not been changed, but rearrangement of code around it causes a false positive when the aggregate changes are checked for style. Add an extra line to eliminate the warning. Signed-off-by: Peter Bigot --- include/kernel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/kernel.h b/include/kernel.h index 3ebd63b4282..a276db374c4 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -2701,6 +2701,7 @@ struct k_sem { _wait_q_t wait_q; uint32_t count; uint32_t limit; + _POLL_EVENT; _OBJECT_TRACING_NEXT_PTR(k_sem)