Dominique Martinet [off-list ref] wrote:
Looking at this from a kernel's point of view, it looks like there
really was a will to simplify 64-bit ints handling over all arches and
have them all define 64-bit ints as long long a few years back.
Think printk() too. Do you use "%lu", "%Lu" or "%llu"? It's a lot easier if
__u64 is consistently unsigned long long - then it's always "%llu".
The problem with defining it as "unsigned long" on some platforms and
"unsigned long long" on others is that you're guaranteed warnings on one arch
or another.
David