From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:60110 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbdGRP0V (ORCPT ); Tue, 18 Jul 2017 11:26:21 -0400 Date: Tue, 18 Jul 2017 17:26:15 +0200 From: Greg KH To: pbonzini@redhat.com, paulus@ozlabs.org Cc: stable@vger.kernel.org, stable-commits@vger.kernel.org Subject: Re: Patch "kvm: avoid unused variable warning for UP builds" has been added to the 4.12-stable tree Message-ID: <20170718152615.GA12045@kroah.com> References: <1500390966133103@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500390966133103@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jul 18, 2017 at 05:16:06PM +0200, gregkh@linuxfoundation.org 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 know about it. > > > >From b49defe83659cefbb1763d541e779da32594ab10 Mon Sep 17 00:00:00 2001 > From: Paolo Bonzini > Date: Fri, 30 Jun 2017 13:25:45 +0200 > Subject: kvm: avoid unused variable warning for UP builds > > From: Paolo Bonzini > > 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 > Fixes: 7a97cec26b94c909f4cbad2dc3186af3e457a522 > Signed-off-by: Paolo Bonzini > Signed-off-by: Greg Kroah-Hartman 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