diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-05-31 18:35:54 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-06-07 18:19:24 +0300 |
commit | 13385ae168517a3ae8b5a10537c02e5ca41e970f (patch) | |
tree | bf0f36516e70bc8df175203ed353021497fd279d /crypto | |
parent | c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f (diff) |
block: Use DIV_ROUND_UP
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-block@nongnu.org
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions