kernel-ark/drivers/atm
Nathan Chancellor 64b9d16e2d 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>
2018-10-18 15:39:10 -07:00
..
.gitignore
adummy.c
ambassador.c
ambassador.h
atmtcp.c
eni.c atm: eni: Move semicolon to a new line after empty for loop 2018-10-18 15:38:26 -07:00
eni.h
firestream.c firestream: fix spelling mistake: "reseverd" -> "reserved" 2018-05-10 15:23:49 -04:00
firestream.h
fore200e.c fore200e: fix missing unlock on error in bsq_audit() 2018-10-15 22:48:35 -07:00
fore200e.h fore200e: devirtualize dma alloc calls 2018-10-10 22:38:50 -07:00
he.c
he.h
horizon.c
horizon.h
idt77105.c
idt77105.h
idt77252_tables.h
idt77252.c
idt77252.h
iphase.c atm: iphase: fix a 64 bit bug 2018-06-30 18:44:38 +09:00
iphase.h
Kconfig
lanai.c
Makefile
midway.h
nicstar.c atm: nicstar: Replace spin_is_locked() with spin_trylock() 2018-10-05 14:31:29 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c atm: zatm: Fix empty body Clang warnings 2018-10-18 15:39:10 -07:00
zatm.h
zeprom.h