diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-19 10:25:50 -0800 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 11:53:24 +0300 |
commit | 14af3f3c56103d8c3bb173c255ef5d89fb0c9350 (patch) | |
tree | aee57781bbd073a123b8191ace0261f339dc06ee /block/blk-settings.c | |
parent | 4866d5e3d59c7831c7fa117c246a39165817db0d (diff) | |
download | kernel_samsung_espresso10-14af3f3c56103d8c3bb173c255ef5d89fb0c9350.zip kernel_samsung_espresso10-14af3f3c56103d8c3bb173c255ef5d89fb0c9350.tar.gz kernel_samsung_espresso10-14af3f3c56103d8c3bb173c255ef5d89fb0c9350.tar.bz2 |
KVM: sparse fixes for kvm/x86.c
In two case statements, use the ever popular 'i' instead of index:
arch/x86/kvm/x86.c:1063:7: warning: symbol 'index' shadows an earlier one
arch/x86/kvm/x86.c:1000:9: originally declared here
arch/x86/kvm/x86.c:1079:7: warning: symbol 'index' shadows an earlier one
arch/x86/kvm/x86.c:1000:9: originally declared here
Make it static.
arch/x86/kvm/x86.c:1945:24: warning: symbol 'emulate_ops' was not declared. Should it be static?
Drop the return statements.
arch/x86/kvm/x86.c:2878:2: warning: returning void-valued expression
arch/x86/kvm/x86.c:2944:2: warning: returning void-valued expression
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions