Re: [PATCH] add new DMA_ADDR_T_SIZE define

From: Ion Badulescu (ionut@badula.org)
Date: Wed Feb 19 2003 - 12:28:38 EST


On Wed, 19 Feb 2003, 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?

It doesn't help with printk(), but frankly if you're printing a dma_addr_t
then you're probably debugging, not performance-tuning, so the cast to u64
is acceptable.

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

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



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:26 EST