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
> ---
> block/vvfat.c | 3 +--
> hw/block/tc
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
---
block/vvfat.c | 3 +--
hw/block/tc58128.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)