commit | 26efcec158a87133bb6255ae7d3127a5fa6e66fd | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Jul 24 13:33:09 2015 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Mon Sep 07 14:19:00 2015 +0100 |
tree | 8d058a47d6defafda7da26df8d0c02019bda327b | |
parent | 1d0148fe6c121b21476ac1ba5120f8990e7fe6cd [diff] |
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