Re: How to printk unsigned long long variable?

From: Vegard Nossum
Date: Fri Jun 15 2007 - 11:04:19 EST


On 6/15/07, jidong xiao <jidong.xiao@xxxxxxxxx> wrote:
typedef unsigned long long u64;
u64 *dma_mask;
Then how to use printk() to print out a dma_mask variable?

In regular printf(), this would be specified by the format "%llu". Try that?

Vegard
-
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/