misc: Use braces in infinite for loop

Be consistent with the style of always having braces even if a compound
statement isn't required.  Avoids some warnings from static analysis
tools.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
This commit is contained in:
Leandro Pereira 2018-02-02 16:28:46 -08:00 committed by Anas Nashif
parent 90f175b19d
commit 2251ea04a8

View File

@ -82,8 +82,9 @@
__FILE__, \
__LINE__); \
printk(fmt, ##__VA_ARGS__); \
for (;;) \
; /* spin thread */ \
for (;;) { \
/* spin thread */ \
} \
} \
} while ((0))