summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-omap2-mcspi.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-17 11:04:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-28 18:25:46 +0100
commit2f3f3d9fcb933f614293d8a70a956a0afb0cab4c (patch)
treedebd10bc4a7c34f606da0e16f153689c9c028226 /drivers/spi/spi-omap2-mcspi.c
parentc3fe3831d9e5ad4a9068cc807647f7d9b9fe5880 (diff)
atm: zatm: Fix empty body Clang warnings
[ Upstream commit 64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4 ] 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>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions