From: H Hartley Sweeten Date: Tue, 15 Dec 2009 02:00:22 +0000 (-0800) Subject: kernel/sys.c: fix "warning: do-while statement is not a compound statement" noise X-Git-Tag: v2.6.33-rc1~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc6a736d452a8c308190b618b065c2257d370ff;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed