[Qemu-devel] [PATCH RFC v3] scripts/checkpatch.pl: Bug fix

2018-03-25 Thread Su Hang
Commit 2b9aef6fcd96ba7ed8c1ee723e391901852d344c introduced a regression: checkpatch.pl started complaining about the following valid pattern: do { /* something */ } while (condition); Fix the script to once again permit this pattern. Signed-off-by: Su Hang --- v1: fix bug. v2: correct inapp

[Qemu-devel] [PATCH RFC v3] scripts/checkpatch.pl: Bug fix

2018-03-19 Thread Su Hang
Commit 2b9aef6fcd96ba7ed8c1ee723e391901852d344c introduced a regression: checkpatch.pl started complaining about the following valid pattern: do { /* something */ } while (condition); Fix the script to once again permit this pattern. Signed-off-by: Su Hang --- v1: fix bug. v2: correct inapp