]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea6673cd219623df8c57b3a9d8d1c6a44c15c14f
treee00b12f37f1b2853b295393224542c6eaf4329ff
parent420f36886e5d5059b301208c1f2c7950cd04f19d
net: macb: Pass same size to DMA_UNMAP as used for DMA_MAP

Just as commit "net: macb: DMA-unmap full rx-buffer"
(dbdbb8d2d3b5985be9d3427e38a133dc895c5ad7), 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