File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -423,10 +423,9 @@ mod test {
423
423
GuestMemoryMmap :: new ( & [ ( GuestAddress ( 0x0 ) , ( MEM_SIZE as usize ) ) ] ) . unwrap ( )
424
424
}
425
425
426
- #[ allow( non_snake_case) ]
427
426
#[ cfg( feature = "bzimage" ) ]
428
427
#[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
429
- fn make_bzImage ( ) -> Vec < u8 > {
428
+ fn make_bzimage ( ) -> Vec < u8 > {
430
429
let mut v = Vec :: new ( ) ;
431
430
v. extend_from_slice ( include_bytes ! ( "bzimage" ) ) ;
432
431
v
@@ -448,7 +447,7 @@ mod test {
448
447
#[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
449
448
fn load_bzImage ( ) {
450
449
let gm = create_guest_mem ( ) ;
451
- let image = make_bzImage ( ) ;
450
+ let image = make_bzimage ( ) ;
452
451
let mut kernel_start = GuestAddress ( 0x200000 ) ;
453
452
let mut highmem_start_address = GuestAddress ( 0x0 ) ;
454
453
You can’t perform that action at this time.
0 commit comments