From: Adrian Bunk <bunk@kernel.org>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: jgarzik@pobox.com, netdev@vger.kernel.org
Subject: Re: [PATCH] Make FC, FDDI, HIPPI and TR tristate
Date: Sat, 29 Dec 2007 02:52:08 +0200 [thread overview]
Message-ID: <20071229005208.GE9105@does.not.exist> (raw)
In-Reply-To: <Pine.LNX.4.64.0712290140090.29013@fbirervta.pbzchgretzou.qr>
On Sat, Dec 29, 2007 at 01:41:23AM +0100, Jan Engelhardt wrote:
>
> On Dec 29 2007 02:09, Adrian Bunk wrote:
> >On Sat, Dec 29, 2007 at 12:45:12AM +0100, Jan Engelhardt wrote:
> >> Turn CONFIG_FC, CONFIG_FDDI, CONFIG_HIPPI and CONFIG_TR into tristate
> >> so they can be built as modules. This will allow CONFIG_LLC to be
> >> built as a module too, overall reducing the core kernel image size.
> >>...
> >
> >Just an example of code you have to fix if you do this:
> >
> >$ grep -r "#ifdef CONFIG_TR" net/
>
> Ah, thank you for reminding me. For lec.c, would it be ok to do
>
> #if defined(CONFIG_TR) || defined(CONFIG_TR_MODULE)
> # define WITH_TR 1
> #endif
>...
#if defined(CONFIG_TR) || (defined(CONFIG_TR_MODULE) && defined(MODULE))
Otherwise stuff like calling alloc_trdev() will cause build errors with
CONFIG_TR=m, CONFIG_ATM_LANE=y.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2007-12-29 0:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-28 23:45 [PATCH] Make FC, FDDI, HIPPI and TR tristate Jan Engelhardt
2007-12-29 0:09 ` Adrian Bunk
2007-12-29 0:41 ` Jan Engelhardt
2007-12-29 0:52 ` Adrian Bunk [this message]
2007-12-29 8:19 ` David Miller
2007-12-29 8:18 ` David Miller
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=20071229005208.GE9105@does.not.exist \
--to=bunk@kernel.org \
--cc=jengelh@computergmbh.de \
--cc=jgarzik@pobox.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).