-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Build fails on aarch64/riscv64 (#429):
arch_memory_regions takes 3 arguments but 2 arguments were supplied
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> src/arch/src/aarch64/linux/regs.rs:156:36
|
156 | let (_mem_info, regions) = arch_memory_regions(layout::FDT_MAX_SIZE + 0x1000, 0);
| ^^^^^^^^^^^^^^^^^^^---------------------------------- argument #3 of type `Option<usize>` is missing
|
note: function defined here
--> src/arch/src/aarch64/mod.rs:41:8
|
41 | pub fn arch_memory_regions(
| ^^^^^^^^^^^^^^^^^^^
...
44 | firmware_size: Option<usize>,
| ----------------------------
help: provide the argument
|
156 | let (_mem_info, regions) = arch_memory_regions(layout::FDT_MAX_SIZE + 0x1000, 0, /* Option<usize> */);
| +++++++++++++++++++++Metadata
Metadata
Assignees
Labels
No labels