This patch series is the result of coccinelle script scripts/coccinelle/round.coccii, added by the first patch.
Laurent Vivier (16): coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d)) parallels: Use DIV_ROUND_UP qcow/qcow2: Use DIV_ROUND_UP qed: Use DIV_ROUND_UP block: Use DIV_ROUND_UP crypto: Use DIV_ROUND_UP xen: Use DIV_ROUND_UP audio: Use DIV_ROUND_UP SPICE: Use DIV_ROUND_UP rocker: Use DIV_ROUND_UP usb: Use DIV_ROUND_UP slirp: Use DIV_ROUND_UP linux-user: Use DIV_ROUND_UP pc-bios/s390-ccw: Use DIV_ROUND_UP qemu-timer: Use DIV_ROUND_UP hbitmap: Use DIV_ROUND_UP block/parallels.c | 2 +- block/qcow.c | 4 ++-- block/qcow2-cluster.c | 4 ++-- block/qcow2-refcount.c | 6 ++---- block/qed-check.c | 3 +-- block/qed.c | 3 +-- block/vvfat.c | 3 +-- crypto/block-luks.c | 6 ++---- hw/audio/pcspk.c | 2 +- hw/block/tc58128.c | 2 +- hw/display/xenfb.c | 4 ++-- hw/net/rocker/rocker_of_dpa.c | 5 ++--- hw/usb/redirect.c | 6 +++--- linux-user/syscall.c | 4 ++-- pc-bios/s390-ccw/bootmap.c | 2 +- qemu-timer.c | 2 +- scripts/coccinelle/round.cocci | 19 +++++++++++++++++++ slirp/dnssearch.c | 4 ++-- tests/test-hbitmap.c | 6 +++--- ui/spice-display.c | 2 +- xen-hvm.c | 2 +- 21 files changed, 51 insertions(+), 40 deletions(-) create mode 100644 scripts/coccinelle/round.cocci -- 2.5.5