On 03/13/2018 03:01 PM, Vladimir Sementsov-Ogievskiy wrote:
It looks like a bug in a recent commit to checkpatch. It don't support do { }
while
Checking PATCH 11/13: migration: add postcopy migration of dirty bitmaps...
ERROR: braces {} are necessary for all arms of this statement
#737: FILE: migration/block-dirty-bitmap.c:690:
+ } while (!(s.flags & DIRTY_BITMAP_MIG_FLAG_EOS));
[...]
Indeed, this is a regression in Su Hang's commit 2b9aef6f.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org