Re: [PATCH net-next v2 2/2] r8152: use eth_hw_addr_random

From: BjÃrn Mork
Date: Wed Sep 03 2014 - 04:34:21 EST


Hayes Wang <hayeswang@xxxxxxxxxxx> writes:

> + ether_addr_copy(dev->perm_addr, dev->dev_addr);

This isn't strictly necessary. register_netdev() will do it for you as
long as you leave the default addr_assign_type (NET_ADDR_PERM). And you
do.



BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/