KVM: Using __weak instead of __attribute__((weak)).
PATCH 1/1 KVM: Using __weak instead of __attribute__((weak)).
Adhere to linux coding style.
Reported by checkpatch:
WARNING: Prefer __weak over __attribute__((weak))
Signed-off-by Mukesh Kumar Chaurasiya <[email protected]>
--- virt/kvm/irqchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
virt/kvm/irqchip.c +1 -1
@@ -157,7 +157,7 @@ static int setup_routing_entry(struct kvm *kvm,return 0 ; } -void __attribute__((weak))kvm_arch_irq_routing_update (struct kvm *kvm) +void __weak kvm_arch_irq_routing_update (struct kvm *kvm) { }
Signature · 1 line
2.25.1