Sparse notices that declaration and implementation do not match: arch/s390/kvm/../../../virt/kvm/kvm_main.c:4435:17: warning: incorrect type in return expression (different address spaces) arch/s390/kvm/../../../virt/kvm/kvm_main.c:4435:17: expected struct kvm_vcpu [noderef] <asn:3> ** arch/s390/kvm/../../../virt/kvm/kvm_main.c:4435:17: got struct kvm_vcpu *[noderef] <asn:3> *
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1344,7 +1344,7 @@ static inline void kvm_vcpu_set_dy_eligible(struct kvm_vcpu *vcpu, bool val) · 1343 unmodified lines | |||
| 1344 | #endif /* CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT */ | 1344 | #endif /* CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT */ |
| 1345 | 1345 | ||
| 1346 | struct kvm_vcpu *kvm_get_running_vcpu(void); | 1346 | struct kvm_vcpu *kvm_get_running_vcpu(void); |
| 1347 | struct kvm_vcpu __percpu **kvm_get_running_vcpus(void); | 1347 | struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void); |
| 1348 | 1348 | ||
| 1349 | #ifdef CONFIG_HAVE_KVM_IRQ_BYPASS | 1349 | #ifdef CONFIG_HAVE_KVM_IRQ_BYPASS |
| 1350 | bool kvm_arch_has_irq_bypass(void); | 1350 | bool kvm_arch_has_irq_bypass(void); |