LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: linux-raid@vger.kernel.org
Subject: BLK_DEV_MD with CONFIG_NET
Date: Tue, 20 Mar 2007 20:05:38 -0700 [thread overview]
Message-ID: <20070320200538.5270d636.randy.dunlap@oracle.com> (raw)
drivers/md/md.c calls csum_partial().
IF CONFIG_NET=n and BLK_DEV_MD=y, if arch/*/lib/Makefile
puts csum-partial.o or checksum.o into lib-y, the function
is present. (Of course, if the function is placed in
obj-y, there is no problem.)
If CONFIG_NET=n and BLK_DEV_MD=n, if arch/*/lib/Makefile
puts csum-partial.o or checksum.o into lib-y, the function
is removed from the kernel image due to having no built-in
callers.
Build a kernel with CONFIG_NET-n and CONFIG_BLK_DEV_MD=m.
Unless csum_partial() is built and kept by some arch Makefile,
the result is:
ERROR: "csum_partial" [drivers/md/md-mod.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Any suggested solutions?
Recorded for posterity here:
http://bugzilla.kernel.org/show_bug.cgi?id=8242
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next reply other threads:[~2007-03-21 3:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 3:05 Randy Dunlap [this message]
2007-03-21 3:26 ` David Miller
2007-03-21 12:02 ` Sam Ravnborg
2007-03-21 22:30 ` Arnd Bergmann
2007-03-22 11:15 ` Adrian Bunk
2007-03-21 22:59 ` 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=20070320200538.5270d636.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--subject='Re: BLK_DEV_MD with CONFIG_NET' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).