Re: [Qemu-devel] [PATCH 06/16] crypto: Use DIV_ROUND_UP

2016-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2016 at 06:35:55PM +0200, 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: Daniel P. Berrange > Signed-off-by: Laurent Vivier > --- > crypto/block-luks.c | 6 +

[Qemu-devel] [PATCH 06/16] crypto: Use DIV_ROUND_UP

2016-05-31 Thread Laurent Vivier
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d). This patch is the result of coccinelle script scripts/coccinelle/round.cocci CC: Daniel P. Berrange Signed-off-by: Laurent Vivier --- crypto/block-luks.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crypto/block-