Re: [Qemu-block] [PATCH 07/31] dmg: use DIV_ROUND_UP

2017-06-23 Thread Stefan Hajnoczi
On Thu, Jun 22, 2017 at 02:41:40PM +0200, Marc-André Lureau wrote: > I used the clang-tidy qemu-round check to generate the fix: > https://github.com/elmarco/clang-tools-extra > > Signed-off-by: Marc-André Lureau > --- > block/dmg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Review

[Qemu-block] [PATCH 07/31] dmg: use DIV_ROUND_UP

2017-06-22 Thread Marc-André Lureau
I used the clang-tidy qemu-round check to generate the fix: https://github.com/elmarco/clang-tools-extra Signed-off-by: Marc-André Lureau --- block/dmg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/dmg.c b/block/dmg.c index 900ae5a678..6c0711f563 100644 --- a/block/