diff --git a/Cargo.lock b/Cargo.lock index 88e3b227e..78b13d9b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "vm-fdt" version = "0.1.0" -source = "git+https://github.com/rust-vmm/vm-fdt?branch=master#bbfd1e7719eef34e42f7853b37a871abbd96cafe" +source = "git+https://github.com/rust-vmm/vm-fdt?branch=master#02d1b8fde288f42b4e2c0a0ec036f70ab797141c" [[package]] name = "vm-memory" diff --git a/arch/src/aarch64/fdt.rs b/arch/src/aarch64/fdt.rs index c6a21a43e..bca1b1192 100644 --- a/arch/src/aarch64/fdt.rs +++ b/arch/src/aarch64/fdt.rs @@ -82,7 +82,7 @@ pub fn create_fdt FdtWriterResult> { // Allocate stuff necessary for the holding the blob. - let mut fdt = FdtWriter::new(&[]).unwrap(); + 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