History

KVM: let declaration of kvm_get_running_vcpus match implementation

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> *

Christian Borntraeger committed 6 years ago

Commit fcd07f91 parent 7943f4a1 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/kvm_host.h+1−1
@@ -1344,7 +1344,7 @@ static inline void kvm_vcpu_set_dy_eligible(struct kvm_vcpu *vcpu, bool val) · 1343 unmodified lines
13441344 #endif /* CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT */
13451345
13461346 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);
13481348
13491349 #ifdef CONFIG_HAVE_KVM_IRQ_BYPASS
13501350 bool kvm_arch_has_irq_bypass(void);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t