Messages in this thread | | | Date | Thu, 21 Feb 2008 11:02:38 +0200 | From | Avi Kivity <> | Subject | Re: [kvm-devel] [PATCH] kvm: sparse fixes for kvm/x86.c |
| |
Harvey Harrison wrote: > 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 > > Missing semicolon. > arch/x86/kvm/x86.c:493:3: warning: returning void-valued expression > > 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 >
Applied all three patches, thanks.
-- error compiling committee.c: too many arguments to function
| |