Tag: 1f7c9ae7a014d994c01a7dd59333f2fcef2aba58

w5300: using eth_hw_addr_random() for random MAC and set device flag

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using eth_hw_addr_random() to generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller — drivers/net/ethernet/wiznet/w5300.c | 3 +– 1 file …

Continue reading