Files
linux/drivers/atm
Nathan Chancellor 641f1f798c atm: zatm: Fix empty body Clang warnings
[ Upstream commit 64b9d16e2d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-01 09:16:41 +01:00
..
2017-08-09 22:43:50 -07:00
2017-08-09 22:43:50 -07:00
2017-11-30 09:26:32 -05:00
2018-06-12 16:19:22 -07:00
2015-01-18 00:28:41 -05:00