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 {
423423 GuestMemoryMmap :: new ( & [ ( GuestAddress ( 0x0 ) , ( MEM_SIZE as usize ) ) ] ) . unwrap ( )
424424 }
425425
426- #[ allow( non_snake_case) ]
427426 #[ cfg( feature = "bzimage" ) ]
428427 #[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
429- fn make_bzImage ( ) -> Vec < u8 > {
428+ fn make_bzimage ( ) -> Vec < u8 > {
430429 let mut v = Vec :: new ( ) ;
431430 v. extend_from_slice ( include_bytes ! ( "bzimage" ) ) ;
432431 v
@@ -448,7 +447,7 @@ mod test {
448447 #[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
449448 fn load_bzImage ( ) {
450449 let gm = create_guest_mem ( ) ;
451- let image = make_bzImage ( ) ;
450+ let image = make_bzimage ( ) ;
452451 let mut kernel_start = GuestAddress ( 0x200000 ) ;
453452 let mut highmem_start_address = GuestAddress ( 0x0 ) ;
454453
You can’t perform that action at this time.
0 commit comments