File tree 2 files changed +3
-3
lines changed
src/devices/src/virtio/net
tests/integration_tests/build
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -434,10 +434,10 @@ pub mod test {
434
434
desc. next . set ( next_index) ;
435
435
}
436
436
437
- addr += len as u64 ;
437
+ addr += u64:: from ( len ) ;
438
438
// Add small random gaps between descriptor addresses in order to make sure we
439
439
// don't blindly read contiguous memory.
440
- addr += utils:: rand:: xor_pseudo_rng_u32 ( ) as u64 % 10 ;
440
+ addr += u64 :: from ( utils:: rand:: xor_pseudo_rng_u32 ( ) ) % 10 ;
441
441
}
442
442
443
443
// Mark the chain as available.
Original file line number Diff line number Diff line change 23
23
# Checkout the cpuid crate. In the future other
24
24
# differences may appear.
25
25
if utils .is_io_uring_supported ():
26
- COVERAGE_DICT = {"Intel" : 82.99 , "AMD" : 82.31 , "ARM" : 82.39 }
26
+ COVERAGE_DICT = {"Intel" : 82.99 , "AMD" : 82.31 , "ARM" : 82.41 }
27
27
else :
28
28
COVERAGE_DICT = {"Intel" : 80.15 , "AMD" : 79.48 , "ARM" : 79.60 }
29
29
You can’t perform that action at this time.
0 commit comments