]> www.infradead.org Git - users/dwmw2/qemu.git/commit
piix: use DIV_ROUND_UP
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Jun 2017 11:04:16 +0000 (13:04 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (12:29 +0200)
commitf9406b84ba3f081dd0cd38bc28db4b8cd9134398
tree46d6804385b30df16d499a3b2f7436f8605fa270
parent7b9a27cdbb5b510c7826b816f20259131169f9cd
piix: use DIV_ROUND_UP

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 <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
hw/pci-host/piix.c