From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: linux-next: build failure after merge of the driver-core tree Date: Thu, 5 Jan 2012 15:20:34 -0800 Message-ID: <20120105232034.GB15643@kroah.com> References: <20120105172856.07fc66f37d76f16a88d22799@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20120105172856.07fc66f37d76f16a88d22799@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "Srivatsa S. Bhat" , Borislav Petkov , Jan Beulich , Kay Sievers List-Id: linux-next.vger.kernel.org On Thu, Jan 05, 2012 at 05:28:56PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the driver-core tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > arch/x86/kernel/microcode_core.c: In function 'microcode_init': > arch/x86/kernel/microcode_core.c:557:2: error: implicit declaration of function 'sysdev_driver_unregister' [-Werror=implicit-function-declaration] > arch/x86/kernel/microcode_core.c:557:28: error: 'cpu_sysdev_class' undeclared (first use in this function) > arch/x86/kernel/microcode_core.c:557:47: error: 'mc_sysdev_driver' undeclared (first use in this function) > > Caused by commit 8a25a2fd126c ("cpu: convert 'cpu' and 'machinecheck' > sysdev_class to a regular subsystem") interacting with commit > bd399063976c ("x86, microcode: Fix the failure path of microcode update > driver init code") which was added to Linux' tree in v3.2-rc5, > > I have applied the following merge fix patch: Thanks, this looks good, and I'll queue it up when push these to Linus. greg k-h