Re: [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent

David S. Miller
2003-05-17T04:34:42Z

From: Grant Grundler <iod00d@hp.com>
Date: Fri, 16 May 2003 21:26:10 -0700

On Fri, May 16, 2003 at 04:40:25PM -0700, Jeremy Higdon wrote:
> - /* pci_alloc_consistent gives only non-DAC addresses */
> - test_desc.addr_hi = 0;
> + test_desc.addr_hi = ((u64) buf_dma >> 32);
> test_desc.addr_lo = buf_dma & 0xffffffff;

Just curious, is the "& 0xffffffff" really necessary?
I was expecting "(u32) buf_dma" to be sufficient.

Not necessary, just a stylistic choice.