summaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-08-22 21:28:40 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-24 13:30:27 -0400
commit1f7c9ae7a014d994c01a7dd59333f2fcef2aba58 (patch)
tree6db1f56839c4dddcce53764c8d22f22a1b6c48d0 /drivers/net/veth.c
parentd68bb7e1a65f2604156958ae03a556b6a207514b (diff)
downloadop-kernel-dev-1f7c9ae7a014d994c01a7dd59333f2fcef2aba58.zip
op-kernel-dev-1f7c9ae7a014d994c01a7dd59333f2fcef2aba58.tar.gz
w5300: using eth_hw_addr_random() for random MAC and set device flag
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud