Peter Maydell 26efcec158 hw/block/nvme.c: Use pow2ceil() rather than hand-calculation
Use pow2ceil() to round up to the next power of 2, rather
than an inline calculation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1437741192-20955-4-git-send-email-peter.maydell@linaro.org
2015-09-07 14:19:00 +01:00
..
2015-07-27 18:11:53 +03:00
2015-04-27 18:24:18 +02:00
2015-07-13 13:35:51 +01:00
2015-09-07 10:39:30 +01:00
2015-09-07 10:39:28 +01:00
2015-08-13 11:26:21 +01:00
2015-07-08 10:09:55 +03:00
2015-09-07 10:39:30 +01:00
2015-08-13 17:47:44 +01:00
2015-09-07 10:39:28 +01:00
2015-06-22 18:20:40 +02:00
2015-07-27 14:12:18 +01:00
2015-07-22 14:56:01 -06:00
2015-06-23 18:25:55 +01:00