From c46441c93751bbb4afd1a281b2132dd4d576af4f Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Tue, 6 Jul 2021 23:11:56 +0000 Subject: [PATCH] build: bump vm-fdt from `bbfd1e7` to `02d1b8f` Bumps [vm-fdt](https://github.com/rust-vmm/vm-fdt) from `bbfd1e7` to `02d1b8f`. - [Release notes](https://github.com/rust-vmm/vm-fdt/releases) - [Commits](https://github.com/rust-vmm/vm-fdt/compare/bbfd1e7719eef34e42f7853b37a871abbd96cafe...02d1b8fde288f42b4e2c0a0ec036f70ab797141c) --- updated-dependencies: - dependency-name: vm-fdt dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: Henry Wang --- Cargo.lock | 2 +- arch/src/aarch64/fdt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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