mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
5f4a6b42c0
With the existing code, `round_up(7, 2)` would generate `6` which is obviously wrong. Also, following what's done for 'round_down()', the fixed code does not handle 'alignment == 0' explicitly. Signed-off-by: Bo Chen <chen.bo@intel.com>