diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-10-17 11:04:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-18 15:39:10 -0700 |
commit | 64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4 (patch) | |
tree | 46ca38eaf1dd639a6e411d93e3192bf32d444f37 /net/ipv4/tcp_output.c | |
parent | 3e73cc5cd8c03ebc930f1799cc984e746780414a (diff) | |
download | linux-64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4.tar.gz linux-64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4.tar.bz2 linux-64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4.zip |
atm: zatm: Fix empty body Clang warnings
Clang warns:
drivers/atm/zatm.c:513:7: error: while loop has empty body
[-Werror,-Wempty-body]
zwait;
^
drivers/atm/zatm.c:513:7: note: put the semicolon on a separate line to
silence this warning
Get rid of this warning by using an empty do-while loop. While we're at
it, add parentheses to make it clear that this is a function-like macro.
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 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions