mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Houston <mikeserv@bmts.com>
To: linux-kernel@vger.kernel.org
Subject: 2.6.6-bk9 - compile failure if sysfs disabled
Date: Sat, 22 May 2004 23:26:28 -0400	[thread overview]
Message-ID: <20040522232628.7599ae93.mikeserv@bmts.com> (raw)

If sysfs is disabled in the config under pseudo filesystems,

lib/kobject.c: In function `kobject_rename':
lib/kobject.c:395: error: void value not ignored as it ought to be
make[1]: *** [lib/kobject.o] Error 1
make: *** [lib] Error 2

Line 395 is this:
error = sysfs_rename_dir(kobj, new_name);

Now, before anyone chides me for blindly disabling sysfs, I only came across this in helping someone else, who erroneously disabled it, solve this build failure :-)

My apologies if this is already known or expected. It just seems to me that it ought not to end in a build failure and is possibly something you folks would like to know about.

Note that I'm not saying this started in -bk9 because I've never previously compiled one without sysfs. This is, however, what the original user was building.

Thanks folks (for everything you do),
Mike

             reply	other threads:[~2004-05-23  3:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23  3:26 Mike Houston [this message]
2004-05-23  4:35 ` Randy.Dunlap

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=20040522232628.7599ae93.mikeserv@bmts.com \
    --to=mikeserv@bmts.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®