OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fd92f
)
KVM: fix sparse warning
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 28 Nov 2008 16:02:42 +0000
(17:02 +0100)
committer
Avi Kivity
<avi@redhat.com>
Wed, 31 Dec 2008 14:55:05 +0000
(16:55 +0200)
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>
virt/kvm/kvm_main.c
patch
|
blob
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index
54d25e6
..
8dab7ce
100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-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