Re: [PATCH 1/2] Add C99-style constructor macros for specific-sizedintegers

From: H. Peter Anvin
Date: Mon Mar 03 2008 - 01:38:38 EST


Al Viro wrote:

Oh, for... It's not as if we _had_ anything better for u64 than %ull and
convert the argument to unsigned long long for that family.

Unless you are seriously suggesting the use of vomit-inducing atrocity of
PRIu64 and constant concatenation in there, that is. I would rather move
typechecking for printk-style functions to sparse and tell gcc to STFU
completely on that class of warnings. Making it extensible, while we are
at it - i.e. telling sparse that this conversion is to be used for dma_addr_t,
etc.

No, I'm not suggesting that. I'd rather have the Windoze extension of %I64u, which of course gcc doesn't recognize.

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