]> granicus.if.org Git - strace/commit
Fix macros encosure in a do/while loop
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 17 Jun 2017 21:47:57 +0000 (21:47 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 17 Jun 2017 21:51:48 +0000 (21:51 +0000)
commit6c08f7d65ca98c7ff031c7f6402ffcb051d39cc8
tree05c0f83330077755d2968a4ff67ced7e13561486
parent170281be5b8e56f3e8e6c8ed6080ad44bc29ab2c
Fix macros encosure in a do/while loop

Enclose macros with multiple statements and macros starting
with "if" statement in a do/while loop.
Do not enclose single statement macros in a do/while loop.

Reported by kernel's checkpatch.pl script.
12 files changed:
ipc_defs.h
test/seccomp.c
tests/ioctl_block.c
tests/ioctl_evdev.c
tests/ioctl_mtd.c
tests/ioctl_v4l2.c
tests/poll.c
tests/xchownx.c
tests/xstatfsx.c
tests/xstatx.c
uname.c
unwind.c