diff options
| author | Nathan Chancellor <[email protected]> | 2018-10-17 11:04:19 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-18 15:39:10 -0700 |
| commit | 64b9d16e2d02ca6e5dc8fcd30cfd52b0ecaaa8f4 (patch) | |
| tree | 46ca38eaf1dd639a6e411d93e3192bf32d444f37 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | 3e73cc5cd8c03ebc930f1799cc984e746780414a (diff) | |
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 <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions