From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:40731 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbbJRAKD (ORCPT ); Sat, 17 Oct 2015 20:10:03 -0400 Date: Sat, 17 Oct 2015 17:10:02 -0700 From: Greg Kroah-Hartman To: Ben Hutchings Cc: Guenter Roeck , stable , dingtianhong Subject: Re: Build errors in v3.10-stable-queue Message-ID: <20151018001002.GC18971@kroah.com> References: <56071A11.5000800@roeck-us.net> <1444308572.2956.254.camel@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1444308572.2956.254.camel@decadent.org.uk> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Oct 08, 2015 at 01:49:32PM +0100, Ben Hutchings wrote: > On Sat, 2015-09-26 at 15:20 -0700, Guenter Roeck wrote: > > drivers/net/bonding/bond_main.c: In function ‘bond_get_old_active’: > > drivers/net/bonding/bond_main.c:884:33: error: macro "bond_for_each_slave" requires 3 arguments, but only 2 given > > drivers/net/bonding/bond_main.c:884:2: error: ‘bond_for_each_slave’ undeclared (first use in this function) > > drivers/net/bonding/bond_main.c:884:2: note: each undeclared identifier is reported only once for each function it appears in > > drivers/net/bonding/bond_main.c:884:35: error: expected ‘;’ before ‘{’ token > > > > This affects a large number of builds. > > > > Culprit is 'bonding: correct the MAC address for "follow" > > fail_over_mac policy', which may need a backport. > > bond_for_each_slave() needs an int parameter for a counter. > > Untested backport attached, based on what I did for 3.2. Thanks, now applied. greg k-h