projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eth: fwnode: change the return type of mac address helpers
[linux-2.6-block.git]
/
drivers
/
net
/
ethernet
/
apm
/
xgene
/
xgene_enet_main.c
diff --git
a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
index 5f1fc6582d74a2b624ac3351b6e0ec41f400bc11..268e099aa5e1626e9303d0d4e8db7df99c280ba9 100644
(file)
--- a/
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
+++ b/
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
@@
-1731,7
+1731,7
@@
static int xgene_enet_get_resources(struct xgene_enet_pdata *pdata)
xgene_get_port_id_acpi(dev, pdata);
#endif
- if (
!
device_get_mac_address(dev, ndev->dev_addr, ETH_ALEN))
+ if (device_get_mac_address(dev, ndev->dev_addr, ETH_ALEN))
eth_hw_addr_random(ndev);
memcpy(ndev->perm_addr, ndev->dev_addr, ndev->addr_len);