Re: Large block device patch, part 1 of 9

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Sep 03 2002 - 11:04:19 EST


On Tue, 3 Sep 2002, Neil Brown wrote:
>
> Effectively, this is a type-safe cast. You still get the warning, but
> it looks more like the C that we are used to.

I wonder if the right answer isn't to just make things like "__u64" be
"long long" even on 64-bit architectures (at least those on which it is 64
bit, of course. I _think_ that's true of all of them). And then just use
"llu" for it all.

Of course, the really _best_ option would be to have gcc's printf string
format be extensible and dynamic.

Davem, is sparc64 "long long" 64-bit?

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:17 EST