Re: [PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Arnd Bergmann
On Wed, Jul 26, 2017 at 4:42 PM, Paolo Bonzini wrote: > On 26/07/2017 15:32, Arnd Bergmann wrote: >> A new caller of smp_call_function() passes a local variable as the 'wait' >> argument, and that variable is otherwise unused, so we get a warning >> in non-SMP configurations:

Re: [PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Arnd Bergmann
On Wed, Jul 26, 2017 at 4:42 PM, Paolo Bonzini wrote: > On 26/07/2017 15:32, Arnd Bergmann wrote: >> A new caller of smp_call_function() passes a local variable as the 'wait' >> argument, and that variable is otherwise unused, so we get a warning >> in non-SMP configurations: >> >>

Re: [PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Paolo Bonzini
On 26/07/2017 15:32, Arnd Bergmann wrote: > A new caller of smp_call_function() passes a local variable as the 'wait' > argument, and that variable is otherwise unused, so we get a warning > in non-SMP configurations: > > virt/kvm/kvm_main.c: In function 'kvm_make_all_cpus_request': >

Re: [PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Paolo Bonzini
On 26/07/2017 15:32, Arnd Bergmann wrote: > A new caller of smp_call_function() passes a local variable as the 'wait' > argument, and that variable is otherwise unused, so we get a warning > in non-SMP configurations: > > virt/kvm/kvm_main.c: In function 'kvm_make_all_cpus_request': >

[PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Arnd Bergmann
A new caller of smp_call_function() passes a local variable as the 'wait' argument, and that variable is otherwise unused, so we get a warning in non-SMP configurations: virt/kvm/kvm_main.c: In function 'kvm_make_all_cpus_request': virt/kvm/kvm_main.c:195:7: error: unused variable 'wait'

[PATCH v2] smp_call_function: use inline helpers instead of macros

2017-07-26 Thread Arnd Bergmann
A new caller of smp_call_function() passes a local variable as the 'wait' argument, and that variable is otherwise unused, so we get a warning in non-SMP configurations: virt/kvm/kvm_main.c: In function 'kvm_make_all_cpus_request': virt/kvm/kvm_main.c:195:7: error: unused variable 'wait'