From: Matthew Wilcox <matthew@wil.cx>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>,
linux-arch@vger.kernel.org, Vivek Goyal <vgoyal@in.ibm.com>
Subject: Re: Which architectures need 64-bit resources?
Date: Mon, 6 Nov 2006 20:33:49 -0700 [thread overview]
Message-ID: <20061107033349.GR27140@parisc-linux.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0611070218590.28657@pademelon.sonytel.be>
On Tue, Nov 07, 2006 at 02:37:46AM +0100, Geert Uytterhoeven wrote:
> Ah, good that the `possibility' of 64-bit resources on m68k goes away, and I
> haven't `fixed' all those printf() format warnings yet...
>
> Speaking about that: how many recently-added silencing casts should be removed
> on platforms without 64-bit resources?
Absolutely none, I'm afraid.
struct resource {
resource_size_t start;
resource_size_t end;
...
GCC complains about resource_size_t, no matter what you typedef it to be.
It'd be nice if we could tell GCC that %r meant it'd consume a
resource_size_t, but afaict, there's no ability to define additions to
the format attribute.
Viro's mused on disabling the printk checking entirely with gcc and just
using sparse to verify format strings (so we can add our own types, etc),
but I don't think that's realistic unless a lot more people start
installing sparse.
And widespread adoption of sparse seems unlikely, given that it's under
OSL 1.1 which means it can't go into Debian [1].
GCC's in Stage 1 ... anyone want to write a patch to c-format.c?
[1] http://wiki.debian.org/DFSGLicenses#head-2b7e4b3507dcc5657dabaf145df20d6c7d41f159
next prev parent reply other threads:[~2006-11-07 3:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-06 12:23 Which architectures need 64-bit resources? Matthew Wilcox
2006-11-06 12:52 ` Arnd Bergmann
2006-11-06 16:02 ` Ralf Baechle
2006-11-06 16:32 ` Matthew Wilcox
2006-11-06 17:13 ` Ralf Baechle
2006-11-07 1:37 ` Geert Uytterhoeven
2006-11-07 3:33 ` Matthew Wilcox [this message]
2006-11-07 9:36 ` Russell King
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=20061107033349.GR27140@parisc-linux.org \
--to=matthew@wil.cx \
--cc=geert@linux-m68k.org \
--cc=linux-arch@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=vgoyal@in.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox