Searched hist:"49 ed8dde371522b2d330a7383aaa213748ad007e" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/usb/ |
H A D | sr9700.c | diff 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 D | mcs7830.c | diff 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 D | dm9601.c | diff 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 D | rtl8150.c | diff 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 D | r8152.c | diff 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>
|