mbox series

[0/2] net: sh_eth: DMA mapping API fixes

Message ID 20171204133327.3505-1-thomas.petazzoni@free-electrons.com
Headers show
Series net: sh_eth: DMA mapping API fixes | expand

Message

Thomas Petazzoni Dec. 4, 2017, 1:33 p.m. UTC
Hello,

Here are two patches that fix how the sh_eth driver is using the DMA
mapping API: a bogus struct device is used in some places, or a NULL
struct device is used.

Best regards,

Thomas

Thomas Petazzoni (2):
  net: sh_eth: use correct "struct device" when calling DMA mapping
    functions
  net: sh_eth: don't use NULL as "struct device" for the DMA mapping API

 drivers/net/ethernet/renesas/sh_eth.c | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Comments

David Miller Dec. 5, 2017, 7:42 p.m. UTC | #1
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Mon,  4 Dec 2017 14:33:25 +0100

> Here are two patches that fix how the sh_eth driver is using the DMA
> mapping API: a bogus struct device is used in some places, or a NULL
> struct device is used.

Series applied.