Re: How to printk unsigned long long variable?

From: Roland Dreier
Date: Fri Jun 15 2007 - 14:42:18 EST


> dma_mask should be a pointer, I mean, the element in struct device, see below,

Sorry, you're right.

So print it as (unsigned long long) *dev->dma_mask.

- R.
-
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/