Skip to content

Commit 63747bf

Browse files
committed
KVM: s390/vsie: avoid sparse warning
This is a non-functional change that avoids arch/s390/kvm/vsie.c:839:25: warning: context imbalance in 'do_vsie_run' - unexpected unlock Signed-off-by: Christian Borntraeger <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
1 parent afdad61 commit 63747bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/s390/kvm/vsie.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,8 @@ static int handle_stfle(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
818818
* - < 0 if an error occurred
819819
*/
820820
static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
821+
__releases(vcpu->kvm->srcu)
822+
__acquires(vcpu->kvm->srcu)
821823
{
822824
struct kvm_s390_sie_block *scb_s = &vsie_page->scb_s;
823825
struct kvm_s390_sie_block *scb_o = vsie_page->scb_o;

0 commit comments

Comments
 (0)