Home
last modified time | relevance | path

Searched hist:"49 ed8dde371522b2d330a7383aaa213748ad007e" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dsr9700.cdiff 49ed8dde371522b2d330a7383aaa213748ad007e Mon Oct 04 11:05:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> net: usb: use eth_hw_addr_set() for dev->addr_len cases

Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, dev->addr_len)
+ eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dmcs7830.cdiff 49ed8dde371522b2d330a7383aaa213748ad007e Mon Oct 04 11:05:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> net: usb: use eth_hw_addr_set() for dev->addr_len cases

Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, dev->addr_len)
+ eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Ddm9601.cdiff 49ed8dde371522b2d330a7383aaa213748ad007e Mon Oct 04 11:05:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> net: usb: use eth_hw_addr_set() for dev->addr_len cases

Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, dev->addr_len)
+ eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Drtl8150.cdiff 49ed8dde371522b2d330a7383aaa213748ad007e Mon Oct 04 11:05:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> net: usb: use eth_hw_addr_set() for dev->addr_len cases

Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, dev->addr_len)
+ eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dr8152.cdiff 49ed8dde371522b2d330a7383aaa213748ad007e Mon Oct 04 11:05:22 CDT 2021 Jakub Kicinski <kuba@kernel.org> net: usb: use eth_hw_addr_set() for dev->addr_len cases

Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, dev->addr_len)
+ eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>