On Tue, Jul 18, 2017 at 05:16:06PM +0200, gregkh@xxxxxxxxxxxxxxxxxxx wrote: > > This is a note to let you know that I've just added the patch titled > > kvm: avoid unused variable warning for UP builds > > to the 4.12-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > kvm-avoid-unused-variable-warning-for-up-builds.patch > and it can be found in the queue-4.12 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let <stable@xxxxxxxxxxxxxxx> know about it. > > > >From b49defe83659cefbb1763d541e779da32594ab10 Mon Sep 17 00:00:00 2001 > From: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Date: Fri, 30 Jun 2017 13:25:45 +0200 > Subject: kvm: avoid unused variable warning for UP builds > > From: Paolo Bonzini <pbonzini@xxxxxxxxxx> > > commit b49defe83659cefbb1763d541e779da32594ab10 upstream. > > The uniprocessor version of smp_call_function_many does not evaluate > all of its argument, and the compiler emits a warning about "wait" > being unused. This breaks the build on architectures for which > "-Werror" is enabled by default. > > Work around it by moving the invocation of smp_call_function_many to > its own inline function. > > Reported-by: Paul Mackerras <paulus@xxxxxxxxxx> > Fixes: 7a97cec26b94c909f4cbad2dc3186af3e457a522 > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Nope, this patch breaks the 4.12-stable build. If you all want it there, please provide a working backported patch. thanks, greg k-h