From 6201e1e5a9f230c08c146a5094b584ae8647ea09 Mon Sep 17 00:00:00 2001 From: Yonattan Louise Date: Tue, 7 Apr 2015 11:30:57 -0500 Subject: [PATCH] Fix checkpatch issue - ERROR:TRAILING_STATEMENTS This commit fixes the coding style of the 'if', 'do', 'while' and 'for' statements in order to comply with the defined coding style. Signed-off-by: Yonattan Louise Change-Id: I70d002462db48f36b9589cdb229ba928f3f424b4 --- .../nanokernel/test/test_arm_m3_irq_vector_table/src/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/nanokernel/test/test_arm_m3_irq_vector_table/src/main.c b/samples/nanokernel/test/test_arm_m3_irq_vector_table/src/main.c index d36f8daac25..cb8698ce720 100644 --- a/samples/nanokernel/test/test_arm_m3_irq_vector_table/src/main.c +++ b/samples/nanokernel/test/test_arm_m3_irq_vector_table/src/main.c @@ -116,9 +116,11 @@ void main (void) nano_task_sem_take(&sem[1]) || nano_task_sem_take(&sem[2]) ? TC_FAIL : TC_PASS; - if (TC_FAIL == rv) goto get_out; + if (TC_FAIL == rv) + goto get_out; - for (int ii = 0; ii < 3; ii++) _NvicSwInterruptTrigger(ii); + for (int ii = 0; ii < 3; ii++) + _NvicSwInterruptTrigger(ii); rv = nano_task_sem_take(&sem[0]) && nano_task_sem_take(&sem[1]) &&