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:
parent
90f175b19d
commit
2251ea04a8
@ -82,8 +82,9 @@
|
||||
__FILE__, \
|
||||
__LINE__); \
|
||||
printk(fmt, ##__VA_ARGS__); \
|
||||
for (;;) \
|
||||
; /* spin thread */ \
|
||||
for (;;) { \
|
||||
/* spin thread */ \
|
||||
} \
|
||||
} \
|
||||
} while ((0))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user