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 +
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-