diff --git a/Cargo.lock b/Cargo.lock index 2c5f4195a..79bc37b39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1223,7 +1223,7 @@ dependencies = [ [[package]] name = "vm-fdt" version = "0.1.0" -source = "git+https://github.com/rust-vmm/vm-fdt?branch=master#956b5a5ea1d7b92026e82bef2aa6a85b0c2200b5" +source = "git+https://github.com/rust-vmm/vm-fdt?branch=master#2e4ebdeb27be5b450b51b79fdeeeee3750d42182" [[package]] name = "vm-memory" diff --git a/arch/src/aarch64/fdt.rs b/arch/src/aarch64/fdt.rs index 60685dcc4..fe3c017f3 100644 --- a/arch/src/aarch64/fdt.rs +++ b/arch/src/aarch64/fdt.rs @@ -79,7 +79,7 @@ pub fn create_fdt FdtWriterResult> { // Allocate stuff necessary for the holding the blob. - let mut fdt = FdtWriter::new(&[]); + let mut fdt = FdtWriter::new(&[]).unwrap(); // For an explanation why these nodes were introduced in the blob take a look at // https://github.com/torvalds/linux/blob/master/Documentation/devicetree/booting-without-of.txt#L845