Laurent Vivier 5d61cafd0b SPICE: 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: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-06-07 18:19:25 +03:00
..
2016-05-18 15:04:27 +03:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-06-03 08:23:26 +02:00
2016-02-04 17:01:04 +00:00
2016-03-08 12:20:11 +01:00
2016-02-04 17:01:04 +00:00
2016-06-03 08:23:26 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-06-03 08:23:26 +02:00
2016-06-07 18:19:25 +03:00
2016-03-01 08:19:07 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-23 12:43:05 +00:00
2016-06-03 08:23:26 +02:00
2016-06-03 08:23:26 +02:00
2016-02-04 17:01:04 +00:00