Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755449AbXKFTce (ORCPT ); Tue, 6 Nov 2007 14:32:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753682AbXKFTc1 (ORCPT ); Tue, 6 Nov 2007 14:32:27 -0500 Received: from ns1.suse.de ([195.135.220.2]:33142 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753625AbXKFTc0 (ORCPT ); Tue, 6 Nov 2007 14:32:26 -0500 Date: Tue, 6 Nov 2007 11:31:38 -0800 From: Greg KH To: Kamalesh Babulal Cc: akpm@linux-foundation.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Whitcroft Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs Message-ID: <20071106193138.GA13476@suse.de> References: <200711061033.lA6AXrhT018804@imap1.linux-foundation.org> <4730896A.9060701@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4730896A.9060701@linux.vnet.ibm.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1500 Lines: 34 On Tue, Nov 06, 2007 at 09:04:02PM +0530, Kamalesh Babulal wrote: > Hi Andrew, > > The build fails with following error > > CC drivers/pci/hotplug/rpadlpar_sysfs.o > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent') > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj') > drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer > drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type > make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1 > make[2]: *** [drivers/pci/hotplug] Error 2 > make[1]: *** [drivers/pci] Error 2 > make: *** [drivers] Error 2 > > The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch > is causing the build failure. Ah, thanks, I'll go fix that up right now, that was due to the ktype being removed from the kset. If you comment out the line: .ktype = &ktype_dlpar_io, it should build properly, right? thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/