Re: [PATCH] net: systemport: Use eth_hw_addr_random

2015-07-09 Thread David Miller
From: Vaishali Thakkar Date: Wed, 8 Jul 2015 10:49:30 +0530 > Use eth_hw_addr_random() instead of calling random_ether_addr(). > Here, this change is setting addr_assign_type to NET_ADDR_RANDOM. > > The Coccinelle semantic patch that performs this transformation > is as follows: > > @@ > identi

Re: [PATCH] net: systemport: Use eth_hw_addr_random

2015-07-09 Thread Florian Fainelli
On 07/07/15 22:19, Vaishali Thakkar wrote: > Use eth_hw_addr_random() instead of calling random_ether_addr(). > Here, this change is setting addr_assign_type to NET_ADDR_RANDOM. > > The Coccinelle semantic patch that performs this transformation > is as follows: > > @@ > identifier a,b; > @@ > >

Re: [PATCH] net: systemport: Use eth_hw_addr_random

2015-07-08 Thread Florian Fainelli
Le 07/07/15 22:19, Vaishali Thakkar a écrit : > Use eth_hw_addr_random() instead of calling random_ether_addr(). > Here, this change is setting addr_assign_type to NET_ADDR_RANDOM. > > The Coccinelle semantic patch that performs this transformation > is as follows: > > @@ > identifier a,b; > @@ >

[PATCH] net: systemport: Use eth_hw_addr_random

2015-07-07 Thread Vaishali Thakkar
Use eth_hw_addr_random() instead of calling random_ether_addr(). Here, this change is setting addr_assign_type to NET_ADDR_RANDOM. The Coccinelle semantic patch that performs this transformation is as follows: @@ identifier a,b; @@ -random_ether_addr(a->b); +eth_hw_addr_random(a); Signed-off-by