On 05/31/2016 10:35 AM, Laurent Vivier wrote: > Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d). > > This patch is the result of coccinelle script > scripts/coccinelle/round.cocci > > CC: [email protected] > Signed-off-by: Laurent Vivier <[email protected]> > --- > block/qcow.c | 4 ++-- > block/qcow2-cluster.c | 4 ++-- > block/qcow2-refcount.c | 6 ++---- > 3 files changed, 6 insertions(+), 8 deletions(-) >
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
