Skip to content

Commit

Permalink
KVM: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and Avi Kivity committed Dec 31, 2008
1 parent f3fd92f commit e8ba5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e8ba5d3

Please sign in to comment.