From: David Miller <davem@davemloft.net>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org, samuel@sortiz.org, dtor_core@ameritech.net
Subject: Re: [patch] irda: fix !PNP support in drivers/net/irda/nsc-ircc.c
Date: Mon, 05 May 2008 01:02:05 -0700 (PDT) [thread overview]
Message-ID: <20080505.010205.136409582.davem@davemloft.net> (raw)
In-Reply-To: <20080505075823.GA9299@elte.hu>
From: Ingo Molnar <mingo@elte.hu>
Date: Mon, 5 May 2008 09:58:23 +0200
> i just used the existing precedent of doing the #ifdef: it's not _that_
> bad as it surrounds a single function most of the time so it's rather
> apparent what is happening - and that is what is done in some other
> drivers as well.
>
> btw., when i fixed this i almost implemented it the way that you
> suggested, but there's also a code size argument to when the suspend
> callbacks are not used: the extra dummy function takes up text space,
> and people turn off PNP when they build some specialized thing and try
> to reduce the size of the kernel.
>
> but in any case, i have no strong feelings in either direction.
The existing practice is ugly :-)
But I see arguments for either side, just like you.
Meanwhile let's fix this build error, I'll toss your patches
into my net-2.6 tree.
Thanks.
prev parent reply other threads:[~2008-05-05 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-03 19:32 [patch] irda: fix !PNP support in drivers/net/irda/nsc-ircc.c Ingo Molnar
2008-05-05 7:50 ` David Miller
2008-05-05 7:58 ` Ingo Molnar
2008-05-05 8:02 ` David Miller [this message]
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=20080505.010205.136409582.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=samuel@sortiz.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