diff --git a/src/devices/src/virtio/net/test_utils.rs b/src/devices/src/virtio/net/test_utils.rs index c9224fe7aa08..89375e225edc 100644 --- a/src/devices/src/virtio/net/test_utils.rs +++ b/src/devices/src/virtio/net/test_utils.rs @@ -434,10 +434,10 @@ pub mod test { desc.next.set(next_index); } - addr += len as u64; + addr += u64::from(len); // Add small random gaps between descriptor addresses in order to make sure we // don't blindly read contiguous memory. - addr += utils::rand::xor_pseudo_rng_u32() as u64 % 10; + addr += u64::from(utils::rand::xor_pseudo_rng_u32()) % 10; } // Mark the chain as available. diff --git a/tests/integration_tests/build/test_coverage.py b/tests/integration_tests/build/test_coverage.py index ce158b6b0394..6d566cdf438d 100644 --- a/tests/integration_tests/build/test_coverage.py +++ b/tests/integration_tests/build/test_coverage.py @@ -23,7 +23,7 @@ # Checkout the cpuid crate. In the future other # differences may appear. if utils.is_io_uring_supported(): - COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.39} + COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.41} else: COVERAGE_DICT = {"Intel": 80.15, "AMD": 79.48, "ARM": 79.60}