Re: How to printk unsigned long long variable?

From: Jan Engelhardt
Date: Fri Jun 15 2007 - 12:29:43 EST



On Jun 16 2007 00:18, jidong xiao wrote:

> dma_mask should be a pointer, I mean, the element in struct device, see
> below,
>
> struct device {
>
> u64 *dma_mask; /* dma mask (if dma'able device) */

Then it's printk("%llx\n", (unsigned long long)*dev->dma_mask);


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