Skip to content
Commit d7364a29 authored by Hannes Eder's avatar Hannes Eder Committed by Avi Kivity
Browse files

KVM: fix sparse warnings: context imbalance



Impact: Attribute function with __acquires(...) resp. __releases(...).

Fix this sparse warnings:
  arch/x86/kvm/i8259.c:34:13: warning: context imbalance in 'pic_lock' - wrong count at exit
  arch/x86/kvm/i8259.c:39:13: warning: context imbalance in 'pic_unlock' - unexpected unlock

Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 41d6af11
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment