summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-17 11:03:34 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-18 15:38:26 -0700
commit3e73cc5cd8c03ebc930f1799cc984e746780414a (patch)
tree21d9d06d7a4d1d48cd401c3e67a0836d35451f8e /drivers/gpu
parentd93adca7a807cf4a33f3ec96402f645cd8fbe158 (diff)
downloadlinux-3e73cc5cd8c03ebc930f1799cc984e746780414a.tar.bz2
atm: eni: Move semicolon to a new line after empty for loop
Clang warns: drivers/atm/eni.c:244:48: error: for loop has empty body [-Werror,-Wempty-body] for (order = 0; (1 << order) < *size; order++); ^ drivers/atm/eni.c:244:48: note: put the semicolon on a separate line to silence this warning In this case, that loop is expected to be empty so silence the warning in the way that Clang suggests. Link: https://github.com/ClangBuiltLinux/linux/issues/42 Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions