Skip to content

Commit 69c0975

Browse files
ouptonbonzini
authored andcommitted
kvm: nVMX: match comment with return type for nested_vmx_exit_reflected
nested_vmx_exit_reflected() returns a bool, not int. As such, refer to the return values as true/false in the comment instead of 1/0. Signed-off-by: Oliver Upton <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b045ae9 commit 69c0975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx/nested.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5551,7 +5551,7 @@ static bool nested_vmx_exit_handled_mtf(struct vmcs12 *vmcs12)
55515551
}
55525552

55535553
/*
5554-
* Return 1 if we should exit from L2 to L1 to handle an exit, or 0 if we
5554+
* Return true if we should exit from L2 to L1 to handle an exit, or false if we
55555555
* should handle it ourselves in L0 (and then continue L2). Only call this
55565556
* when in is_guest_mode (L2).
55575557
*/

0 commit comments

Comments
 (0)