Commit 2ff37a88 authored by Jonathan Schwender's avatar Jonathan Schwender Committed by Stefan Lankes
Browse files

Fix return type of ! functions

Remove `;` to remove warning
Signed-off-by: default avatarJonathan Schwender <>
parent 386ee525
......@@ -55,6 +55,5 @@ pub unsafe fn boot_kernel(virtual_address: u64, mem_size: u64, entry_point: u64)
let func: extern "C" fn(boot_info: &'static mut BootInfo) -> ! =
func(&mut BOOT_INFO);
func(&mut BOOT_INFO)
......@@ -42,5 +42,5 @@ pub unsafe extern "C" fn loader_main() -> ! {
let (kernel_location, entry_point) = load_kernel(&elf, app.as_ptr() as u64, mem_size);
// boot kernel
arch::boot_kernel(kernel_location, mem_size, entry_point);
arch::boot_kernel(kernel_location, mem_size, entry_point)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment