Turns out virtio kept using ARRAY_SIZE on fields which stopped being arrays, this was noticed by a coverity scan. I fixed this up, this patchset fixes up the ARRAY_SIZE macro so that this bug does not reappear in any other place.
changes from v2: - dropped the merged virtio patch - whitespace changes - rewrote BUG_ON macros from an array to a struct for portability Michael S. Tsirkin (4): compiler: drop ; after BUILD_BUG_ON compiler: rework BUG_ON using a struct compiler: expression version of QEMU_BUILD_BUG_ON ARRAY_SIZE: check that argument is an array include/qemu/compiler.h | 11 +++++++++-- include/qemu/osdep.h | 9 ++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) -- MST