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: qemu-bl...@nongnu.org
> Signed-off-by: Laurent Vivier <lviv...@redhat.com>
> ---
>  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 <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to