mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-30 07:37:49 +00:00
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: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
f3fd92fbdb
commit
e8ba5d311d
@ -82,7 +82,7 @@ struct dentry *kvm_debugfs_dir;
|
|||||||
static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
|
static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
|
||||||
unsigned long arg);
|
unsigned long arg);
|
||||||
|
|
||||||
bool kvm_rebooting;
|
static bool kvm_rebooting;
|
||||||
|
|
||||||
#ifdef KVM_CAP_DEVICE_ASSIGNMENT
|
#ifdef KVM_CAP_DEVICE_ASSIGNMENT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user