diff options
| author | Laurent Vivier | 2016-05-31 18:35:58 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2016-06-07 17:19:25 +0200 |
| commit | 5d61cafd0b1c77e154a9777c07b675f840d7fbd7 (patch) | |
| tree | ef01ac6d2b3529cfad6d4474da5afb79d6fa41d8 /docs | |
| parent | audio: Use DIV_ROUND_UP (diff) | |
| download | qemu-5d61cafd0b1c77e154a9777c07b675f840d7fbd7.tar.gz qemu-5d61cafd0b1c77e154a9777c07b675f840d7fbd7.tar.xz qemu-5d61cafd0b1c77e154a9777c07b675f840d7fbd7.zip | |
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
