diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-12-15 03:00:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 17:53:26 +0100 |
commit | dfc6a736d452a8c308190b618b065c2257d370ff (patch) | |
tree | 129800fa31f88a5f6d520a2c0d0a64273488a3fa /drivers/char/misc.c | |
parent | kallsyms: remove deprecated print_fn_descriptor_symbol() (diff) | |
download | linux-dfc6a736d452a8c308190b618b065c2257d370ff.tar.xz linux-dfc6a736d452a8c308190b618b065c2257d370ff.zip |
kernel/sys.c: fix "warning: do-while statement is not a compound statement" noise
do_each_thread/while_each_thread wrap a block of code that is in this format:
for (...)
do
...
while
If curly braces do not surround the inner loop the following warning is
generated by sparse:
warning: do-while statement is not a compound statement
Fix the warning by adding the braces.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions