Re: [PATCH] add new DMA_ADDR_T_SIZE define

David S. Miller (davem@redhat.com)
19 Feb 2003 14:06:12 -0800


On Wed, 2003-02-19 at 09:20, Randy.Dunlap wrote:
> Does this help with being able to printk() a <dma_addr_t>? How?
> Always use a cast to (u64) or something else?

One should always cast to long long and use %llx. There is no
printf format appropriate for a 'u64'.

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