Re: [PATCH] qlogicpti: Fix compiler warnings

2016-11-23 Thread tndave
On 11/23/2016 02:57 PM, James Bottomley wrote: On Wed, 2016-11-23 at 13:29 -0800, Tushar Dave wrote: qlogicpti uses '__u32' for dma handle while invoking kernel DMA APIs, instead of using dma_addr_t. This hasn't caused any 'incompatible pointer type' warning on SPARC because until now dma_addr

Re: [PATCH] qlogicpti: Fix compiler warnings

2016-11-23 Thread tndave
On 11/23/2016 05:25 PM, David Miller wrote: From: tndave Date: Wed, 23 Nov 2016 17:08:23 -0800 As per my understanding, I think, all DMA map/unmap go through ATU (iommu) in sun4v sparc. To guarantee that driver doesn't get DMA address beyond its addressable range , driver must set dma