summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-12-01 18:45:45 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-02 19:53:34 +0100
commit8c4799ac799665065f9bf1364fd71bf4f7dc6a4a (patch)
tree1399a8df3d0b719518a28edcac5c0b53d33859e6 /firmware
parentNET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040 (diff)
downloadlinux-8c4799ac799665065f9bf1364fd71bf4f7dc6a4a.tar.xz
linux-8c4799ac799665065f9bf1364fd71bf4f7dc6a4a.zip
net: bcmgenet: Utilize correct struct device for all DMA operations
__bcmgenet_tx_reclaim() and bcmgenet_free_rx_buffers() are not using the same struct device during unmap that was used for the map operation, which makes DMA-API debugging warn about it. Fix this by always using &priv->pdev->dev throughout the driver, using an identical device reference for all map/unmap calls. Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions