Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8ba5d31 authored by Hannes Eder's avatar Hannes Eder Committed by Avi Kivity
Browse files

KVM: fix sparse warning



Impact: make global function static

  virt/kvm/kvm_main.c:85:6: warning: symbol 'kvm_rebooting' was not declared. Should it be static?

Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent f3fd92fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ struct dentry *kvm_debugfs_dir;
static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
			   unsigned long arg);

bool kvm_rebooting;
static bool kvm_rebooting;

#ifdef KVM_CAP_DEVICE_ASSIGNMENT