kvm: x86.c make kvm_load_realmode_segment static
Subsystems (3)
PATCH 1/1 kvm: x86.c make kvm_load_realmode_segment static
Noticed by sparse:arch/x86/kvm/x86.c:3591:5: warning: symbol 'kvm_load_realmode_segment' was not declared. Should it be static?
Signed-off-by Harvey Harrison <[email protected]>
---
Appeared between next-20080820 and next-20080821
arch/x86/kvm/x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/x86.c +1 -1
@@ -3588,7 +3588,7 @@ static int load_segment_descriptor_to_kvm_desct(struct kvm_vcpu *vcpu,return 0 ; } -int kvm_load_realmode_segment (struct kvm_vcpu *vcpu,u16 selector,int seg) +static int kvm_load_realmode_segment (struct kvm_vcpu *vcpu,u16 selector,int seg) {struct kvm_segment segvar = { .base = selector <<4 ,
Signature · 1 line
1.6.0.340.g84854
Avi Kivity
AppliedQuoted 7 lines · Harvey Harrison
Noticed by sparse:
arch/x86/kvm/x86.c:3591:5: warning: symbol 'kvm_load_realmode_segment' was not declared. Should it be static?Signed-off-by Harvey Harrison <[email protected]>---
Appeared between next-20080820 and next-20080821
Applied, thanks.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.