public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Cc: akpm@linux-foundation.org, mm-commits@vger.kernel.org,
	linux-kernel@vger.kernel.org, Andy Whitcroft <apw@shadowen.org>
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs
Date: Tue, 6 Nov 2007 11:39:28 -0800	[thread overview]
Message-ID: <20071106193928.GA30277@suse.de> (raw)
In-Reply-To: <4730896A.9060701@linux.vnet.ibm.com>

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.

Actually, in looking at that file some more, the whole way that file
creates sysfs files and uses them is so messed up it's not funny (get
the return value of writing to a file by reading from it?  WTF?)

I'll go clean up all this crap now that we can do simple kobject
attributes easier...

thanks,

greg k-h

  parent reply	other threads:[~2007-11-06 19:47 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 10:33 mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded akpm
2007-11-06 12:57 ` mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build fails on powerpc Kamalesh Babulal
2007-11-06 15:56   ` Badari Pulavarty
2007-11-06 13:17 ` [-mm patch] fix getblk_slow "integer constant is too large" warning Frederik Deweerdt
2007-11-06 13:51 ` mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded Gabriel C
2007-11-06 15:10 ` mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails Kamalesh Babulal
2007-11-06 15:29   ` Cornelia Huck
2007-11-06 16:42     ` Cornelia Huck
2007-11-06 19:58       ` Kamalesh Babulal
2007-11-06 21:10   ` Andrew Morton
2007-11-06 21:13     ` Greg KH
2007-11-06 22:33       ` Andrew Morton
2007-11-06 21:39         ` Greg KH
2007-11-06 15:34 ` mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs Kamalesh Babulal
2007-11-06 18:19   ` Badari Pulavarty
2007-11-06 19:46     ` Kamalesh Babulal
2007-11-06 21:05     ` Greg KH
2007-11-06 19:31   ` Greg KH
2007-11-06 19:39   ` Greg KH [this message]
2007-11-06 16:51 ` [BUG] mm snapshot broken-out-2007-11-06-02-32.tar.gz - soft lockup Kamalesh Babulal
2007-11-06 17:16   ` Balbir Singh
2007-11-06 17:27 ` [BUG] mm snapshot broken-out-2007-11-06-02-32 - kernel oops Kamalesh Babulal
2007-11-06 18:17 ` mm snapshot broken-out-2007-11-06-02-32 - powerpc link failure Kamalesh Babulal
2007-11-06 19:00   ` Badari Pulavarty
2007-11-06 18:36 ` mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded Badari Pulavarty
2007-11-06 19:46   ` Greg KH
2007-11-06 19:32 ` Badari Pulavarty
2007-11-06 21:17   ` Greg KH
2007-11-06 20:14 ` Gabriel C
2007-11-06 21:40   ` Andrew Morton
2007-11-06 21:07     ` Greg KH
2007-11-06 22:15       ` Andrew Morton
2007-11-06 21:33         ` Greg KH
2007-11-06 22:41           ` Andrew Morton
2007-11-06 21:51             ` Greg KH
2007-11-12 20:17       ` Serge E. Hallyn
2007-11-16 20:57         ` Greg KH
2007-11-06 21:40 ` mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken Kamalesh Babulal
2007-11-07 12:29   ` Jean Delvare
2007-11-07 17:13     ` Kamalesh Babulal
2007-11-07 18:37 ` mm snapshot broken-out-2007-11-06-02-32 build failure init/do_mount Kamalesh Babulal
2007-11-07 20:39   ` Greg KH
2007-11-07 19:52 ` mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_msi build faliure Kamalesh Babulal
2007-11-07 20:28   ` Benjamin Herrenschmidt
2007-11-07 20:35     ` Kamalesh Babulal
2007-11-07 19:56 ` mm snapshot broken-out-2007-11-06-02-32 build failure !CONFIG_PCI Kamalesh Babulal
2007-11-07 21:15   ` [PATCH] chipsfb: uses/depends on PCI Randy Dunlap
2007-11-07 20:42 ` mm snapshot broken-out-2007-11-06-02-32 make header check fails Kamalesh Babulal
2007-11-07 21:55   ` Andrew Morton
2007-11-07 20:57 ` mm snapshot broken-out-2007-11-06-02-32 build failure - !CONFIG_PPC_ISERIES Kamalesh Babulal
2007-11-08  2:27   ` Tony Breeds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071106193928.GA30277@suse.de \
    --to=gregkh@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=apw@shadowen.org \
    --cc=kamalesh@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox