From: Jamie Lokier <jamie@shareable.org>
To: Andrew Morton <akpm@osdl.org>
Cc: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: current_is_kswapd is a function
Date: Sun, 12 Oct 2003 13:18:44 +0100 [thread overview]
Message-ID: <20031012121844.GF13427@mail.shareable.org> (raw)
In-Reply-To: <20031012050223.0d270c8f.akpm@osdl.org>
Andrew Morton wrote:
> It would probably be worthwhile teaching the compiler to generate a warning
> in this case; I doubt if anyone is likely to want to find out at runtime
> whether the linker happened to place a particular function at address zero.
> I shall suggest that.
I agree it would be a very useful warning.
Testing the address is useful occasionally, to ask whether the target
of a weak linkage reference was linked in, so a syntax is needed to
suppress the warning, such as "&function != 0".
-- Jamie
prev parent reply other threads:[~2003-10-12 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-12 2:17 current_is_kswapd is a function William Lee Irwin III
2003-10-12 12:02 ` Andrew Morton
2003-10-12 12:18 ` Jamie Lokier [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=20031012121844.GF13427@mail.shareable.org \
--to=jamie@shareable.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.