net: eth: davinci_cpdma: 64-bit phys/dma_addr_t cleanup
authorOlof Johansson <olof@lixom.net>
Wed, 11 Dec 2013 23:51:20 +0000 (15:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Dec 2013 00:53:55 +0000 (19:53 -0500)
commitc767db5147f0f257accbb26639a2b916d5ffb1e6
tree4b7c4ca037f2cd843c63bbd48370cb2d577b604b
parentc45f812f0280c13f1b7992be5e0de512312a9e8f
net: eth: davinci_cpdma: 64-bit phys/dma_addr_t cleanup

Silences the below warnings when building with ARM_LPAE enabled, which
gives longer dma_addr_t by default:

drivers/net/ethernet/ti/davinci_cpdma.c: In function 'cpdma_desc_pool_create':
drivers/net/ethernet/ti/davinci_cpdma.c:182:3: warning: passing argument 3 of 'dma_alloc_attrs' from incompatible pointer type [enabled by default]
drivers/net/ethernet/ti/davinci_cpdma.c: In function 'desc_phys':
drivers/net/ethernet/ti/davinci_cpdma.c:222:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/net/ethernet/ti/davinci_cpdma.c:223:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c