Re: [PATCH net] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-12-01 Thread Florian Fainelli
On 11/30/2016 09:15 PM, Florian Fainelli wrote: > __bcmgenet_tx_reclaim() is not using the struct device reference when > doing its unmap operation, which made the DMA-API debugging warn about > it. Fix this by always using &priv->pdev->dev throughout the driver, > using an identical device referen

[PATCH net] net: bcmgenet: Utilize correct struct device for all DMA operations

2016-11-30 Thread Florian Fainelli
__bcmgenet_tx_reclaim() is not using the struct device reference when doing its unmap operation, which made the 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: