net: systemport: fix DMA allocation/freeing sizes
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 31 Oct 2014 22:51:34 +0000 (15:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Nov 2014 19:13:56 +0000 (15:13 -0400)
commit3e8fc38c21d6908b394508a8c9bb220935fed4d2
treecc5b2c29efc931d120c411f3a5cf2825eaf2c5df
parent437374735c0055433f8300ba59f8cf7214c58ad3
net: systemport: fix DMA allocation/freeing sizes

We should not be allocating a single byte of DMA coherent memory, but
instead a full-sized struct dma_desc (8 bytes).

Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c