Searched refs:mac_addr_temp (Results 1 – 1 of 1) sorted by relevance
828 const void *mac_addr_temp; in hns_init_mac_addr() local830 mac_addr_temp = of_get_mac_address(node); in hns_init_mac_addr()831 if (mac_addr_temp && is_valid_ether_addr(mac_addr_temp)) { in hns_init_mac_addr()832 memcpy(ndev->dev_addr, mac_addr_temp, ndev->addr_len); in hns_init_mac_addr()