net: macb: Pass same size to DMA_UNMAP as used for DMA_MAP
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Sun, 4 May 2014 22:42:58 +0000 (15:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 21:11:18 +0000 (17:11 -0400)
commitccd6d0a9104e9075e57fa539ed6bb622b15284d9
treee00b12f37f1b2853b295393224542c6eaf4329ff
parente96f2e7c430014eff52c93cabef1ad4f42ed0db1
net: macb: Pass same size to DMA_UNMAP as used for DMA_MAP

Just as commit "net: macb: DMA-unmap full rx-buffer"
(48330e08fa168395b9fd9f369f06cca1df204361), pass the size that
was used for mapping the memory also to the unmap routine to
avoid warnings from the DMA_API.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c