Skip to content

Commit bd46911

Browse files
committed
nit(hypercall): restore return None in hypercall
1 parent 0c6c436 commit bd46911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hypercall.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pub unsafe fn address_to_hypercall_v2(
139139
let serialwritebyte = unsafe { mem.get_ref_mut(data).unwrap() };
140140
Hypercall::SerialWriteBuffer(serialwritebyte)
141141
}
142-
_ => unimplemented!(),
142+
_ => return None,
143143
})
144144
} else {
145145
None

0 commit comments

Comments
 (0)