hypervisor: mshv: modify two safety comments
@@ -458,12 +458,13 @@ impl cpu::Vcpu for MshvVcpu {
_ => {}
}
- // SAFETY: access_info is valid, otherwise we won't be here
assert!(
+ // SAFETY: access_info is valid, otherwise we won't be here
(unsafe { access_info.__bindgen_anon_1.string_op() } != 1),
"String IN/OUT not supported"
);
assert!(
+ // SAFETY: access_info is valid, otherwise we won't be here
(unsafe { access_info.__bindgen_anon_1.rep_prefix() } != 1),
"Rep IN/OUT not supported"
);
