pvmfw: fix device_info_assigned_info_without_iommus test
The test's DT contains no iommu node, so the field is expected to be
`None` as of https://r.android.com/3464029.
Bug: 380074580
Bug: 385802423
Test: atest libpvmfw.device_assignment.test:tests
Change-Id: Ifb29eb0ae460bbb073995f277da65498e172ceb5
diff --git a/guest/pvmfw/src/device_assignment.rs b/guest/pvmfw/src/device_assignment.rs
index 2e4bb6d..ba13fa3 100644
--- a/guest/pvmfw/src/device_assignment.rs
+++ b/guest/pvmfw/src/device_assignment.rs
@@ -1349,7 +1349,7 @@
node_path: CString::new("/bus0/backlight").unwrap(),
reg: vec![[0x9, 0xFF].into()],
interrupts: Some(into_fdt_prop(vec![0x0, 0xF, 0x4])),
- iommus: Some(vec![]),
+ iommus: None,
}];
assert_eq!(device_info.assigned_devices, expected);
@@ -1455,7 +1455,6 @@
(Ok(c"android,backlight,ignore-gctrl-reset"), Ok(Vec::new())),
(Ok(c"compatible"), Ok(Vec::from(*b"android,backlight\0"))),
(Ok(c"interrupts"), Ok(into_fdt_prop(vec![0x0, 0xF, 0x4]))),
- (Ok(c"iommus"), Ok(Vec::new())),
(Ok(c"phandle"), Ok(into_fdt_prop(vec![phandle.unwrap()]))),
(Ok(c"reg"), Ok(into_fdt_prop(vec![0x0, 0x9, 0x0, 0xFF]))),
];