Skip to content

Commit cfc19a0

Browse files
committed
fix: propagate error for unsupported hypercall code
1 parent 55a41d6 commit cfc19a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/vmm/hvc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl HyperCall {
141141
}
142142
_ => {
143143
warn!("Unsupported hypercall code: {:?}", self.code);
144-
ax_err!(Unsupported)
144+
ax_err!(Unsupported)?
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)